[SCM] Debian packaging for apache2 branch, master, updated. debian/2.2.22-3-30-g179b845

Stefan Fritsch sf at sfritsch.de
Mon Jun 11 21:12:19 UTC 2012


The following commit has been merged in the master branch:
commit 179b845fb835f2fa514d2d746e1df5c8ac3caa71
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Mon Jun 11 23:11:05 2012 +0200

    guard against empty variable

diff --git a/debian/apache2.2-common.apache2.init b/debian/apache2.2-common.apache2.init
index 43986a1..d64c8f3 100755
--- a/debian/apache2.2-common.apache2.init
+++ b/debian/apache2.2-common.apache2.init
@@ -80,7 +80,7 @@ apache_wait_stop() {
         local STATUS=$1
 
         PIDTMP=$(pidofproc $DAEMON -p $PIDFILE)
-        if [ -n ${PIDTMP:-} ] && kill -0 "${PIDTMP:-}" 2> /dev/null; then
+        if [ -n "${PIDTMP:-}" ] && kill -0 "${PIDTMP:-}" 2> /dev/null; then
                 local i=0
                 while kill -0 "${PIDTMP:-}" 2> /dev/null;  do
                         if [ $i = '60' ]; then

-- 
Debian packaging for apache2



More information about the Pkg-apache-commits mailing list