fix(ipc): cmdline, comments fails close
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
be61370aab
commit
d237996276
2 changed files with 4 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit c8cbb6be283e9215da87625016fe8838dda76c02
|
||||
Subproject commit 9043c15acc6d5b42b6c12ad284c16c1ec172f1f0
|
||||
|
|
@ -1288,6 +1288,9 @@ fn running_server_uids_for_current_exe() -> ResultType<Vec<u32>> {
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue