mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 08:25:22 +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
|
fi
|
||||||
done
|
done
|
||||||
[ $running -eq 0 ] && return 0
|
[ $running -eq 0 ] && return 0
|
||||||
|
sleep 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user