diff --git a/libs/hbb_common b/libs/hbb_common index c8cbb6be2..9043c15ac 160000 --- a/libs/hbb_common +++ b/libs/hbb_common @@ -1 +1 @@ -Subproject commit c8cbb6be283e9215da87625016fe8838dda76c02 +Subproject commit 9043c15acc6d5b42b6c12ad284c16c1ec172f1f0 diff --git a/src/ipc.rs b/src/ipc.rs index 713e45687..8fa7aa07c 100644 --- a/src/ipc.rs +++ b/src/ipc.rs @@ -1288,6 +1288,9 @@ fn running_server_uids_for_current_exe() -> ResultType> { continue; } let Some(uid) = process.user_id().map(|uid| **uid as u32) else { + // Root CLI management commands need a stable matching `--server` target. + // If this key process races during enumeration, failing the command is clearer + // than silently skipping it; `--server` is not expected to exit frequently. bail!("Failed to read --server process uid"); }; server_uids.push(uid);