From 0be1717ff407ef7449e78bcc863a8feb4798013a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 1 Mar 2017 11:46:48 +0100 Subject: [PATCH] Fix config error --- 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 72e529fc..d06f5066 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -134,7 +134,7 @@ trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE3 delete_dnsmasq_setting "host-record" - if [ -n "${#HOSTRECORD}" ]; then + if [ ! -z "${HOSTRECORD+x}" ]; then add_dnsmasq_setting "host-record" "${HOSTRECORD}" fi