Modify wait again
This commit is contained in:
parent
a3187a560a
commit
fae3e87ea2
@ -542,7 +542,7 @@ fi
|
|||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
||||||
|
|
||||||
# wait for all background jobs to finish
|
# wait for all background jobs to finish
|
||||||
wait && echo "Finished"
|
wait < <(jobs -p); echo "Finished"
|
||||||
|
|
||||||
# exit successfully
|
# exit successfully
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user