Update npm-plus-install.sh

This commit is contained in:
CanbiZ 2025-03-10 17:00:13 +01:00
parent cf55dd2e35
commit 3c7b0c1b06

View File

@ -62,7 +62,7 @@ CONTAINER_ID=$(docker ps --format "{{.ID}}" --filter "name=npmplus")
if [[ -z "$CONTAINER_ID" ]]; then if [[ -z "$CONTAINER_ID" ]]; then
msg_error "NPMplus container not found." msg_error "NPMplus container not found."
exit 1 break
fi fi
TIMEOUT=60 TIMEOUT=60
@ -80,7 +80,7 @@ done
if [[ "$STATUS" != "healthy" ]]; then if [[ "$STATUS" != "healthy" ]]; then
msg_error "NPMplus container did not reach a healthy state." msg_error "NPMplus container did not reach a healthy state."
exit 1 break
fi fi
msg_info "Get Default Login (Patience)" msg_info "Get Default Login (Patience)"
@ -101,9 +101,8 @@ done
if [[ $TIMEOUT -eq 0 ]]; then if [[ $TIMEOUT -eq 0 ]]; then
msg_error "Failed to retrieve default login credentials." msg_error "Failed to retrieve default login credentials."
exit 1 break
fi fi
msg_ok "Get Default Login Successful" msg_ok "Get Default Login Successful"
motd_ssh motd_ssh