Compare commits
No commits in common. "48ee803e58a55a07c639f96e45c47138e520db25" and "ac260d0397acedbae570aa728c5a5c75b9324823" have entirely different histories.
48ee803e58
...
ac260d0397
@ -46,7 +46,7 @@ Result<int> luna_main(int argc, char** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRY(os::Security::pledge("stdio rpath wpath unix proc exec id", nullptr));
|
TRY(os::Security::pledge("stdio rpath wpath proc exec id", nullptr));
|
||||||
|
|
||||||
setsid();
|
setsid();
|
||||||
|
|
||||||
|
@ -324,7 +324,6 @@ static void wait_for_child(int)
|
|||||||
auto rc = os::Process::wait(os::Process::ANY_CHILD, &status);
|
auto rc = os::Process::wait(os::Process::ANY_CHILD, &status);
|
||||||
if (rc.has_error())
|
if (rc.has_error())
|
||||||
{
|
{
|
||||||
if (rc.error() == ECHILD) return;
|
|
||||||
do_log("[init] waitpid error %s", rc.error_string());
|
do_log("[init] waitpid error %s", rc.error_string());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user