mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-23 04:49:50 +00:00
Test against empty string
This commit is contained in:
parent
dbd8aee4ee
commit
ad61852804
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ ProcessDHCPSettings() {
|
|||
interface="eth0"
|
||||
fi
|
||||
|
||||
if [[ "${PIHOLE_DOMAIN}" == "0" ]]; then
|
||||
if [[ "${PIHOLE_DOMAIN}" == "" ]]; then
|
||||
PIHOLE_DOMAIN="local"
|
||||
change_setting "PIHOLE_DOMAIN" "${PIHOLE_DOMAIN}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue