1
0
mirror of synced 2026-02-05 15:34:51 +00:00

Fix bashisms: kill -HUP -> kill -s HUP

This commit is contained in:
Axel Beckert
2010-04-09 01:32:22 +02:00
parent 1fded1e897
commit eae96c3b5a
8 changed files with 8 additions and 7 deletions

1
debian/changelog vendored
View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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