Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Warner <PromoFaux@users.noreply.github.com>2016-04-05 10:56:28 +0300
committerAdam Warner <PromoFaux@users.noreply.github.com>2016-04-05 10:56:28 +0300
commit3f0b15902d89ae3d062499fa289d15195069bf9b (patch)
tree5a51d092929f47ea8895bcf9a4bbcecd19e7d2d9
parent6d9fbe8d4161f0e0aa719a788e0599d70734e8c3 (diff)
parent4d3835dde29f80faba6a30d2c726845b09b5e9b0 (diff)
Merge pull request #432 from pi-hole/developmentv2.6.1
Hotfix 2.6.1
-rwxr-xr-xgravity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gravity.sh b/gravity.sh
index 80f80553..d77d75cf 100755
--- a/gravity.sh
+++ b/gravity.sh
@@ -326,7 +326,7 @@ function gravity_reload() {
#First escape forward slashes in the path:
adList=${adList//\//\\\/}
#Now replace the line in dnsmasq file
- $SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adlist/" /etc/dnsmasq.d/01-pihole.conf
+ $SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
dnsmasqPid=$(pidof dnsmasq)
find "$piholeDir" -type f -exec $SUDO chmod 666 {} \; & spinner $!