From 33a77e0687087788f689f72bcae0543a1cee0597 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 19:32:14 -0600 Subject: [PATCH] assigning array # to string is off? --- functions/update_apps.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 7bf55310..96ff50ed 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -9,13 +9,12 @@ echo "Asynchronous Updates: $update_limit" [[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout" [[ "$timeout" -le 120 ]] && echo "Warning: Your timeout is set low and may lead to premature rollbacks or skips" - +proc_count=0 it=0 while true do while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status') echo "$while_status" > temp.txt - proc_count=${#processes[@]} count=0 for proc in "${processes[@]}" do