Fixed password input
This commit is contained in:
@ -664,7 +664,7 @@ setPassword() {
|
|||||||
|
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
# Entered password
|
# Entered password
|
||||||
echo pass > /etc/pihole/password.txt
|
echo $pass > /etc/pihole/password.txt
|
||||||
else
|
else
|
||||||
echo "::: Cancel selected, exiting...."
|
echo "::: Cancel selected, exiting...."
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user