From 3d4fea65108100772ba1b49c1c5a4c3aadfdbb94 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 26 Oct 2018 19:17:49 +0100 Subject: [PATCH] Move -r to before the -p Signed-off-by: Adam Warner --- advanced/Scripts/webpage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 128d4d97..035bca18 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -111,7 +111,7 @@ SetWebPassword() { # So we reset the terminal via stty if the user does press Ctrl+C trap '{ echo -e "\nNo password will be set" ; stty sane ; exit 1; }' INT # shellcheck disable=SC2162 - read -s -p "Enter New Password (Blank for no password): " PASSWORD + read -s -r -p "Enter New Password (Blank for no password): " PASSWORD echo "" if [ "${PASSWORD}" == "" ]; then @@ -121,7 +121,7 @@ SetWebPassword() { fi # shellcheck disable=SC2162 - read -s -p "Confirm Password: " CONFIRM + read -s -r -p "Confirm Password: " CONFIRM echo "" fi