Fix a restart issue.
authorRoy Marples <roy@marples.name>
Fri, 4 Dec 2009 10:47:01 +0000 (10:47 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Dec 2009 10:47:01 +0000 (10:47 +0000)
dnsmasq.in

index 3189d657adc9955188c3a5f8b74b7af5b1813e5e..e9d1f5183fd166970a2d00d27b115ad41beeee8d 100644 (file)
@@ -115,7 +115,7 @@ if $changed; then
        eval $dnsmasq_restart
 fi
 if $dbus; then
-       $restart || kill -HUP $(cat "$dnsmasq_pid")
+       $changed || kill -HUP $(cat "$dnsmasq_pid")
        # Send even if empty so old servers are cleared
        dbus-send --system --dest=uk.org.thekelleys.dnsmasq \
                /uk/org/thekelleys/dnsmasq uk.org.thekelleys.SetServers \