mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Move -r to before the -p
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
7c6eecc9c8
commit
3d4fea6510
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue