From 4faf03d1a00b7e1349750db60385d802b7d74920 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 19:58:19 -0600 Subject: [PATCH] ge instead of eq --- functions/update_apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 42d8a3c8..6c56b332 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -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+=($!)