mostly fixes for new error handling
[distro-setup] / fsf-vpn-dns-cleanup
index be7fb582a99248b01d5a25490ee26f10ee2be6e5..d9e755c126e6e2491569bc1c37abec3195da174f 100755 (executable)
@@ -6,6 +6,6 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
 if ! echo | /a/exe/cedit fsf /etc/dnsmasq-servers.conf; then
   if systemctl is-active dnsmasq >/dev/null; then
     nscd -i hosts
-    systemctl reload dnsmasq
+    systemctl restart dnsmasq
   fi
 fi