remove redun echo

This commit is contained in:
Heavybullets8 2022-07-25 17:40:05 -06:00
parent ee7608b1da
commit c131539590

View File

@ -115,7 +115,7 @@ if [[ $rollback == "true" ]]; then
elif [[ "$status" == "ACTIVE" ]]; 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 && "$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 [[ "$count" -le 1 && -z "$verbose" ]] && sleep 15 && continue #if reports active on FIRST time through loop, double check
echo_array+=(echo "Active") && break #if reports active any time after the first loop, assume actually active. echo_array+=("Active") && break #if reports active any time after the first loop, assume actually active.
else else
[[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE") [[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE")
sleep 15 sleep 15