remove breaks

This commit is contained in:
CanbiZ 2025-03-10 17:25:17 +01:00
parent 8a636da8f9
commit 25a08c445c

View File

@ -71,7 +71,6 @@ while [[ $TIMEOUT -gt 0 ]]; do
if [[ "$STATUS" == "healthy" ]]; then if [[ "$STATUS" == "healthy" ]]; then
msg_ok "Started NPM Plus" msg_ok "Started NPM Plus"
break
fi fi
sleep 2 sleep 2
@ -80,7 +79,6 @@ 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
fi fi
msg_info "Get Default Login (Patience)" msg_info "Get Default Login (Patience)"
@ -92,7 +90,6 @@ while [[ $TIMEOUT -gt 0 ]]; do
PASSWORD=$(echo "$PASSWORD_LINE" | gawk -F 'password: ' '{print $2}') PASSWORD=$(echo "$PASSWORD_LINE" | gawk -F 'password: ' '{print $2}')
echo -e "username: admin@example.org\npassword: $PASSWORD" >/opt/.npm_pwd echo -e "username: admin@example.org\npassword: $PASSWORD" >/opt/.npm_pwd
msg_ok "Saved default login to /opt/.npm_pwd" msg_ok "Saved default login to /opt/.npm_pwd"
break
fi fi
sleep 2 sleep 2
@ -101,7 +98,6 @@ 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
fi fi
msg_ok "Get Default Login Successful" msg_ok "Get Default Login Successful"