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

Fix config error

This commit is contained in:
DL6ER 2017-03-01 11:46:48 +01:00
parent 189a4e0078
commit 0be1717ff4
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

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