init: Avoid "No child processes" error spam
All checks were successful
Build and test / build (push) Successful in 1m41s
All checks were successful
Build and test / build (push) Successful in 1m41s
This commit is contained in:
parent
984200ca9a
commit
48ee803e58
@ -324,6 +324,7 @@ static void wait_for_child(int)
|
||||
auto rc = os::Process::wait(os::Process::ANY_CHILD, &status);
|
||||
if (rc.has_error())
|
||||
{
|
||||
if (rc.error() == ECHILD) return;
|
||||
do_log("[init] waitpid error %s", rc.error_string());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user