Exit if no commands after wait command

This commit is contained in:
Ben Peddell 2020-03-02 22:19:09 +10:00
parent 461c9355e3
commit ee7b81d11a

View File

@ -3735,6 +3735,9 @@ main(){
case "$command" in
wait)
doWait "${options[@]}"
if [ "$#" == 0 ]; then
break
fi
continue
;;
esac