From e4cbf5023a811c2dd7b073ea109978f088e6fe86 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 30 Sep 2018 18:09:59 -0400 Subject: [PATCH] Fix error when reading in new password Signed-off-by: Mcat12 --- 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 86dbeb70..cba7af00 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -110,7 +110,7 @@ SetWebPassword() { # Prevents a bug if the user presses Ctrl+C and it continues to hide the text typed. # 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 - read -s -p -r "Enter New Password (Blank for no password): " PASSWORD + read -s -p "Enter New Password (Blank for no password): " PASSWORD echo "" if [ "${PASSWORD}" == "" ]; then @@ -119,7 +119,7 @@ SetWebPassword() { exit 0 fi - read -s -p -r "Confirm Password: " CONFIRM + read -s -p "Confirm Password: " CONFIRM echo "" fi