From d237996276c91f64bf978e7eb96f5cac16d1d15f Mon Sep 17 00:00:00 2001 From: fufesou Date: Sat, 16 May 2026 21:49:07 +0800 Subject: [PATCH] fix(ipc): cmdline, comments fails close Signed-off-by: fufesou --- libs/hbb_common | 2 +- src/ipc.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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);