From 4f944a62997eac30b9fa0ac4160c1763b9c75735 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 10 Aug 2022 22:50:44 -0600 Subject: [PATCH] add count to the status file for cont change --- functions/update_apps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index b5f08e75..8397f580 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -61,7 +61,7 @@ it=0 while true do if while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) ; then - echo "$while_status" > temp.txt + echo -e "$it\n$while_status" > temp.txt else echo "Middlewared timed out. Consider setting a lower number for async applications" continue @@ -255,7 +255,7 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then fi else [[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE") - sleep 5 + sleep 10 continue fi done