mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-19 05:40:13 +00:00
Fixed password input
This commit is contained in:
parent
af83936047
commit
adcd7f10ee
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue