use wait instead of fg
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
75509dc8a5
commit
1973ac0787
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ while [ $# -ge 1 ]; do
|
||||||
shift
|
shift
|
||||||
|
|
||||||
# if not, wait for it _now_
|
# if not, wait for it _now_
|
||||||
[ "$parallel" ] || fg
|
[ "$parallel" ] || wait
|
||||||
done
|
done
|
||||||
|
|
||||||
# else wait after all are started
|
# else wait after all are started
|
||||||
|
|
Loading…
Reference in a new issue