1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-20 15:18:32 +00:00

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

Bugfix for when deleting host-record
This commit is contained in:
DL6ER 2017-03-06 16:16:42 +01:00 committed by GitHub
commit a97f0b1298

View File

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