1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 14:48:13 +00:00

Test against empty string

This commit is contained in:
DL6ER 2017-01-02 11:10:38 +01:00
parent dbd8aee4ee
commit ad61852804
No known key found for this signature in database
GPG Key ID: BB8EC0BC77973A30

View File

@ -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