Merge pull request #1300 from pi-hole/fix/deletehostrecord

Bugfix for when deleting host-record
pull/1312/head
DL6ER 7 years ago committed by DL6ER
parent 9a95531fb9
commit 0fe64cf5cc
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -134,7 +134,7 @@ trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE3
delete_dnsmasq_setting "host-record"
if [ ! -z "${HOSTRECORD+x}" ]; then
if [ ! -z "${HOSTRECORD}" ]; then
add_dnsmasq_setting "host-record" "${HOSTRECORD}"
fi

Loading…
Cancel
Save