test
This commit is contained in:
parent
3da75f299d
commit
ef43d3c214
@ -28,10 +28,10 @@ do
|
||||
update_apps "${array[$it]}" &
|
||||
processes+=($!)
|
||||
((it++))
|
||||
elif [[ ${#processes[@]} == 0 ]]; then
|
||||
break
|
||||
else
|
||||
elif [[ ${#processes[@]} != 0 ]]; then # Wait for all processes to finish
|
||||
sleep 3
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
rm temp.txt
|
||||
|
Loading…
Reference in New Issue
Block a user