From ad6185280404ee741ab4022d79808c10184cae38 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 2 Jan 2017 11:10:38 +0100 Subject: [PATCH] Test against empty string --- advanced/Scripts/webpage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 008123d7..7fb339de 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -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