Remove shellcheck overrides

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/2436/head
Dan Schaper 6 years ago committed by GitHub
parent d57f9906bd
commit 72829be281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,7 +110,6 @@ 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
# shellcheck disable=SC2162
read -s -r -p "Enter New Password (Blank for no password): " PASSWORD
echo ""
@ -120,7 +119,6 @@ SetWebPassword() {
exit 0
fi
# shellcheck disable=SC2162
read -s -r -p "Confirm Password: " CONFIRM
echo ""
fi

Loading…
Cancel
Save