wait for last tasks

This commit is contained in:
Vincent Riquer 2013-04-09 22:55:31 +02:00
parent e880ed1c59
commit 5c115e1f37

2
atom
View File

@ -536,7 +536,7 @@ starttime=$concurrencychange
taskcount=$count taskcount=$count
remaining=$taskcount remaining=$taskcount
failed=0 failed=0
while (( remaining && ! quit )) while (( (remaining || ${#workers[@]}) && ! quit ))
do do
if read -n 1 -t 0.1 userinput if read -n 1 -t 0.1 userinput
then then