diff --git a/atom b/atom index 23d8478..6cfbbdb 100755 --- a/atom +++ b/atom @@ -536,7 +536,7 @@ starttime=$concurrencychange taskcount=$count remaining=$taskcount failed=0 -while (( remaining && ! quit )) +while (( (remaining || ${#workers[@]}) && ! quit )) do if read -n 1 -t 0.1 userinput then