Files
mgmt/test/shell/wait.sh
2016-07-05 06:58:04 -04:00

9 lines
191 B
Bash

# NOTE: boiler plate to wait on mgmt; source with: . wait.sh; should NOT be +x
while test "`jobs -p`" != ""
do
for j in `jobs -p`
do
wait $j || continue # wait for mgmt job $j
done
done