From 4941a657bf9e1abfa27df85a4f79981afc03a6ac Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sat, 16 Apr 2016 12:59:40 +0100 Subject: [PATCH] remove -s switch, as it turns out it worked afterall. --- advanced/Scripts/blacklist.sh | 2 +- advanced/Scripts/whitelist.sh | 2 +- gravity.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/blacklist.sh b/advanced/Scripts/blacklist.sh index a2f71db7..c178d9a1 100755 --- a/advanced/Scripts/blacklist.sh +++ b/advanced/Scripts/blacklist.sh @@ -181,7 +181,7 @@ function Reload() { if [[ $dnsmasqPid ]]; then # service already running - reload config - $SUDO kill -s HUP "$dnsmasqPid" + $SUDO kill -HUP "$dnsmasqPid" else # service not running, start it up $SUDO service dnsmasq start diff --git a/advanced/Scripts/whitelist.sh b/advanced/Scripts/whitelist.sh index 801ab9a2..651ff4d4 100755 --- a/advanced/Scripts/whitelist.sh +++ b/advanced/Scripts/whitelist.sh @@ -194,7 +194,7 @@ function Reload() { if [[ $dnsmasqPid ]]; then # service already running - reload config - $SUDO kill -s HUP "$dnsmasqPid" + $SUDO kill -HUP "$dnsmasqPid" else # service not running, start it up $SUDO service dnsmasq start diff --git a/gravity.sh b/gravity.sh index 1a45de45..ac9cd629 100755 --- a/gravity.sh +++ b/gravity.sh @@ -320,7 +320,7 @@ function gravity_reload() { if [[ $dnsmasqPid ]]; then # service already running - reload config - $SUDO kill -s HUP "$dnsmasqPid" + $SUDO kill -HUP "$dnsmasqPid" else # service not running, start it up $SUDO service dnsmasq start