mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-08 20:48:53 +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"
|
interface="eth0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${PIHOLE_DOMAIN}" == "0" ]]; then
|
if [[ "${PIHOLE_DOMAIN}" == "" ]]; then
|
||||||
PIHOLE_DOMAIN="local"
|
PIHOLE_DOMAIN="local"
|
||||||
change_setting "PIHOLE_DOMAIN" "${PIHOLE_DOMAIN}"
|
change_setting "PIHOLE_DOMAIN" "${PIHOLE_DOMAIN}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue