mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 10:46:23 +00:00
Don't busy wait for forked processes to terminate
This commit is contained in:
parent
8db634d2d9
commit
342572730b
@ -1760,6 +1760,7 @@ fork_wait() {
|
||||
fi
|
||||
done
|
||||
[ $running -eq 0 ] && return 0
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user