From 9e23c46f0e786450dee7543a651ef37a4487d515 Mon Sep 17 00:00:00 2001 From: nicedevil007 <17103076+nicedevil007@users.noreply.github.com> Date: Sun, 9 Apr 2023 17:13:30 +0200 Subject: [PATCH] get rid of other exit-script --- install/alpine-vaultwarden-install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install/alpine-vaultwarden-install.sh b/install/alpine-vaultwarden-install.sh index e7a4ca5f..01870181 100644 --- a/install/alpine-vaultwarden-install.sh +++ b/install/alpine-vaultwarden-install.sh @@ -20,9 +20,15 @@ $STD apk add argon2 msg_ok "Installed Dependencies" if NEWTOKEN=$(whiptail --passwordbox "Setup your ADMIN-TOKEN (make it strong)" 10 58 3>&1 1>&2 2>&3); then - if [[ -z "$NEWTOKEN" ]]; then exit-script; fi + if [[ -z "$NEWTOKEN" ]]; then + clear + echo -e "⚠ User exited script \n" + exit + fi else - exit-script + clear + echo -e "⚠ User exited script \n" + exit fi clear