diff --git a/functions/update_apps.sh b/functions/update_apps.sh index e128e12b..df34f752 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -104,6 +104,7 @@ if [[ "$startstatus" == "DEPLOYING" ]]; then status=$(grep "^$app_name," all_app_status | awk -F ',' '{print $2}') if [[ "$SECONDS" -ge "$timeout" ]]; then echo_array+=("Application is stuck Deploying, Skipping to avoid damage") + echo_array return fi sleep 5