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";;