mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Sleep while waiting for forked processes to complete
This commit is contained in:
parent
1ed03e5bf3
commit
3b14543750
@ -1713,6 +1713,7 @@ fork_wait_all() {
|
||||
fi
|
||||
done
|
||||
[ $running -eq 0 ] && return 0
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user