ge instead of eq

This commit is contained in:
Heavybullets8 2022-08-04 19:58:19 -06:00
parent 033db8d4a5
commit 4faf03d1a0

View File

@ -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+=($!)