From ee7608b1da88f6ad7f9e8c075ab88982a4618666 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 17:38:10 -0600 Subject: [PATCH] forgot echo --- 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 dc13a2ff..ed1a11f2 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -115,7 +115,7 @@ if [[ $rollback == "true" ]]; then elif [[ "$status" == "ACTIVE" ]]; then [[ "$count" -le 1 && "$verbose" == "true" ]] && echo_array+=("Verifying Active..") && sleep 15 && continue #if reports active on FIRST time through loop, double check [[ "$count" -le 1 && -z "$verbose" ]] && sleep 15 && continue #if reports active on FIRST time through loop, double check - echo "Active" && break #if reports active any time after the first loop, assume actually active. + echo_array+=(echo "Active") && break #if reports active any time after the first loop, assume actually active. else [[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE") sleep 15 @@ -151,7 +151,7 @@ else fi fi -#dump array +#Dump the echo_array, ensures all output is in a neat order. for i in "${echo_array[@]}" do echo -e "$i"