ge instead of eq
This commit is contained in:
parent
033db8d4a5
commit
4faf03d1a0
@ -27,7 +27,7 @@ do
|
||||
sleep 3
|
||||
elif [[ $it -lt ${#array[@]} ]]; then
|
||||
new_updates=0
|
||||
until [[ "$proc_count" -eq "$update_limit" || $it -eq ${#array[@]} ]]
|
||||
until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]]
|
||||
do
|
||||
update_apps "${array[$it]}" &
|
||||
processes+=($!)
|
||||
|
Loading…
Reference in New Issue
Block a user