forgot echo

This commit is contained in:
Heavybullets8 2022-07-25 17:38:10 -06:00
parent b0c122098b
commit ee7608b1da

View File

@ -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"