From e7f4c40edb13188fad2135beaa33034f6badd962 Mon Sep 17 00:00:00 2001 From: Martijn de Boer Date: Sat, 5 Aug 2023 17:39:59 +0200 Subject: [PATCH] Update install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0d30e70..80afbcd 100644 --- a/install.sh +++ b/install.sh @@ -35,11 +35,12 @@ echo "" echo -e "\e[1;32mPlease review the actions above and confirm to continue...\e[0m" echo -e "\e[1;31mWARNING: Make sure you understand the prompt(s) before continuing!\e[0m" read -p "Continue? " -n 1 -r REPLY_CONTINUE -if [[ ! $REPLY =~ ^[Yy]$ ]] +if [[ ! $REPLY_CONTINUE =~ ^[Yy]$ ]] then exit 1 fi +echo read -p "Disable SSH passwords and load public keys from ${AUTHORIZED_SSH_KEYS}? " -n 1 -r REPLY_SSH_KEYS case "$REPLY_SSH_KEYS" in y|Y ) echo "yes";;