Fix bashisms: kill -HUP -> kill -s HUP
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -38,6 +38,7 @@ xen-tools (4.2~rc1-1) UNRELEASED; urgency=low
|
||||
- [debian/source/format]: missing-debian-source-format
|
||||
* Fix some bashisms
|
||||
- [^y] → [!y] (Thanks to Mathieu Parent!)
|
||||
- kill -HUP → kill -s HUP (found by checkbashism)
|
||||
|
||||
-- Axel Beckert <abe@debian.org> Fri, 09 Apr 2010 01:30:49 +0200
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -105,7 +105,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -106,7 +106,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -105,7 +105,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -104,7 +104,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -106,7 +106,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -112,7 +112,7 @@ if [ -z "${dhcp}" ]; then
|
||||
if [ -e /var/run/dnsmasq.pid ]; then
|
||||
|
||||
logMessage Allowing DNSMasq to restart.
|
||||
kill -HUP `cat /var/run/dnsmasq.pid`
|
||||
kill -s HUP `cat /var/run/dnsmasq.pid`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user