From 3c7b0c1b064486a17b25e42f31e4111e37353178 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Mar 2025 17:00:13 +0100 Subject: [PATCH] Update npm-plus-install.sh --- install/npm-plus-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/npm-plus-install.sh b/install/npm-plus-install.sh index 0fe83cd..d9698e8 100644 --- a/install/npm-plus-install.sh +++ b/install/npm-plus-install.sh @@ -62,7 +62,7 @@ CONTAINER_ID=$(docker ps --format "{{.ID}}" --filter "name=npmplus") if [[ -z "$CONTAINER_ID" ]]; then msg_error "NPMplus container not found." - exit 1 + break fi TIMEOUT=60 @@ -80,7 +80,7 @@ done if [[ "$STATUS" != "healthy" ]]; then msg_error "NPMplus container did not reach a healthy state." - exit 1 + break fi msg_info "Get Default Login (Patience)" @@ -101,9 +101,8 @@ done if [[ $TIMEOUT -eq 0 ]]; then msg_error "Failed to retrieve default login credentials." - exit 1 + break fi - msg_ok "Get Default Login Successful" motd_ssh