From 25a08c445cdd1d8953235a4b024427ba43812ca3 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Mar 2025 17:25:17 +0100 Subject: [PATCH] remove breaks --- install/npm-plus-install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install/npm-plus-install.sh b/install/npm-plus-install.sh index 1f78eec..b9cf714 100644 --- a/install/npm-plus-install.sh +++ b/install/npm-plus-install.sh @@ -71,7 +71,6 @@ while [[ $TIMEOUT -gt 0 ]]; do if [[ "$STATUS" == "healthy" ]]; then msg_ok "Started NPM Plus" - break fi sleep 2 @@ -80,7 +79,6 @@ done if [[ "$STATUS" != "healthy" ]]; then msg_error "NPMplus container did not reach a healthy state." - exit 1 fi msg_info "Get Default Login (Patience)" @@ -92,7 +90,6 @@ while [[ $TIMEOUT -gt 0 ]]; do PASSWORD=$(echo "$PASSWORD_LINE" | gawk -F 'password: ' '{print $2}') echo -e "username: admin@example.org\npassword: $PASSWORD" >/opt/.npm_pwd msg_ok "Saved default login to /opt/.npm_pwd" - break fi sleep 2 @@ -101,7 +98,6 @@ done if [[ $TIMEOUT -eq 0 ]]; then msg_error "Failed to retrieve default login credentials." - exit 1 fi msg_ok "Get Default Login Successful"