Test against empty string

pull/1048/head
DL6ER 8 years ago
parent dbd8aee4ee
commit ad61852804
No known key found for this signature in database
GPG Key ID: BB8EC0BC77973A30

@ -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…
Cancel
Save