summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2025-01-15 17:24:14 +0100
committerLennart Poettering <lennart@poettering.net>2025-01-16 11:55:21 +0100
commit277255e81467045b0e29c4df47d729cf255a99bf (patch)
treebe4d8b3522bb0f415c026314e138a8dcd3b7aec9
parentprocess-util: port pid_from_same_root_fs() to pidref, and port three places o... (diff)
downloadsystemd-277255e81467045b0e29c4df47d729cf255a99bf.tar.xz
systemd-277255e81467045b0e29c4df47d729cf255a99bf.zip
process-util: slightly update comment in freeze()
-rw-r--r--src/basic/process-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c
index 94d8681c29..21e296864a 100644
--- a/src/basic/process-util.c
+++ b/src/basic/process-util.c
@@ -1997,7 +1997,8 @@ _noreturn_ void freeze(void) {
break;
}
- /* waitid() failed with an unexpected error, things are really borked. Freeze now! */
+ /* waitid() failed with an ECHLD error (because there are no left-over child processes) or any other
+ * (unexpected) error. Freeze for good now! */
for (;;)
pause();
}