diff options
author | Al Tarakanoff <al.tarakanoff@gmail.com> | 2013-08-29 13:43:40 -0600 |
---|---|---|
committer | LaMont Jones <lamont@debian.org> | 2013-08-29 13:43:40 -0600 |
commit | a4e07dde54878ed1694f93a153fbd4d5a8c77362 (patch) | |
tree | 78f9c63fc04902d246283a196a5ea43256162a64 | |
parent | 81179656a98b9242cafe9ef2d2f6a785414362d5 (diff) | |
download | bind9-a4e07dde54878ed1694f93a153fbd4d5a8c77362.tar.gz |
properly quote check of pid in bind9 init.d.
Addresses-Ubuntu-Bug: 1092243
Signed-off-by: LaMont Jones <lamont@debian.org>
-rw-r--r-- | debian/bind9.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/bind9.init b/debian/bind9.init index 4fb7a187..d38986f9 100644 --- a/debian/bind9.init +++ b/debian/bind9.init @@ -88,7 +88,7 @@ case "$1" in start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/named \ --pidfile ${PIDFILE} -- $OPTIONS fi - if [ -n $pid ]; then + if [ -n "$pid" ]; then sig=0 n=1 while kill -$sig $pid 2>/dev/null; do |