[SCM] Debian packaging for apache2 branch, next, updated. debian/2.4.2-2-25-g1c29b5e

Arno Töll arno at debian.org
Mon Jun 11 21:54:07 UTC 2012


The following commit has been merged in the next branch:
commit 4832c2a53dded4d5ba1ba8939b109ed79e713a19
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.init b/debian/apache2.init
index 43986a1..d64c8f3 100755
--- a/debian/apache2.init
+++ b/debian/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