use wait instead of fg

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.6
Nico Schottelius 14 years ago
parent 75509dc8a5
commit 1973ac0787
  1. 2
      bin/cdist-mass-deploy

@ -37,7 +37,7 @@ while [ $# -ge 1 ]; do
shift
# if not, wait for it _now_
[ "$parallel" ] || fg
[ "$parallel" ] || wait
done
# else wait after all are started

Loading…
Cancel
Save