From 8a636da8f9d6d70cb531a0e718e3a28af85f8e0d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Mar 2025 17:24:40 +0100 Subject: [PATCH] fix break --- install/npm-plus-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/npm-plus-install.sh b/install/npm-plus-install.sh index 8322ed3..1f78eec 100644 --- a/install/npm-plus-install.sh +++ b/install/npm-plus-install.sh @@ -83,9 +83,6 @@ if [[ "$STATUS" != "healthy" ]]; then exit 1 fi -motd_ssh -customize - msg_info "Get Default Login (Patience)" TIMEOUT=60 while [[ $TIMEOUT -gt 0 ]]; do @@ -104,6 +101,9 @@ done if [[ $TIMEOUT -eq 0 ]]; then msg_error "Failed to retrieve default login credentials." - break + exit 1 fi msg_ok "Get Default Login Successful" + +motd_ssh +customize