Skip to content

Commit 3f0b159

Browse files
committed
Merge pull request #432 from pi-hole/development
Hotfix 2.6.1
2 parents 6d9fbe8 + 4d3835d commit 3f0b159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravity.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ function gravity_reload() {
326326
#First escape forward slashes in the path:
327327
adList=${adList//\//\\\/}
328328
#Now replace the line in dnsmasq file
329-
$SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adlist/" /etc/dnsmasq.d/01-pihole.conf
329+
$SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
330330
dnsmasqPid=$(pidof dnsmasq)
331331

332332
find "$piholeDir" -type f -exec $SUDO chmod 666 {} \; & spinner $!

0 commit comments

Comments
 (0)