Don't busy wait for forked processes to terminate

This commit is contained in:
Jeremy Lakeman 2014-05-12 13:43:22 +09:30
parent 8db634d2d9
commit 342572730b

View File

@ -1760,6 +1760,7 @@ fork_wait() {
fi
done
[ $running -eq 0 ] && return 0
sleep 1
done
}