Skip to content

Commit

Permalink
fix me
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Apr 9, 2024
1 parent ea1d4ad commit 07ab8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ pub async fn get_next_nonkeyexchange_msg(
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub fn check_process(arg: &str, mut same_uid: bool) -> bool {
#[cfg(target_os = "macos")]
if !crate::platform::is_root() {
if !crate::platform::is_root() && !same_uid {
log::warn!("Can not get other process's command line arguments on macos without root");
same_uid = true;
}
Expand Down

0 comments on commit 07ab8e5

Please sign in to comment.