diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index 022265fd..dcbd5861 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -907,7 +907,7 @@ parse_file() { #shellcheck disable=SC2016 IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )' else - read -a -r file_info <<< "$filename" + read -r -a file_info <<< "$filename" fi # Set a named variable for better readability local file_lines diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 4f951d90..0b5c351e 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 -r -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 -r -p "Confirm Password: " CONFIRM echo "" fi