0

Fix 100% cpu usage when spawn nonexisting program

This commit is contained in:
eleksir
2022-04-30 01:04:19 +03:00
parent 2a33b7a4f3
commit 2a588e5ae9

View File

@@ -838,8 +838,10 @@ sub spawn (@) {
if (@args > 0) {
exec $prg, @args;
exit 0;
} else {
exec $prg;
exit 0;
}
}
# else - we just unable to fork, so silently ignore event