use wait instead of fg

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-06 14:22:44 +02:00
parent 75509dc8a5
commit 1973ac0787
1 changed files with 1 additions and 1 deletions

View File

@ -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