]> git.pld-linux.org Git - packages/apache.git/commitdiff
- use -z insead of ! [-n] auto/ac/apache-2_0_50-2
authorwolf <wolf@pld-linux.org>
Sun, 1 Aug 2004 21:47:00 +0000 (21:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.31

apache.init

index a3ddb94d7433e1d523ae1416dc9b7dd61e0765b6..41183ce5643768dad057b9497595aafe09e78b24 100644 (file)
@@ -54,7 +54,7 @@ case "$1" in
                msg_stopping httpd.${HTTPD_MPM}
                if [ -f /var/run/httpd.pid ]; then
                        PID=$(filter_chroot `cat /var/run/httpd.pid`)
-                       if [ ! $PID ]; then
+                       if [ -z "$PID" ]; then
                                PID=0
                        fi
                else
This page took 0.044235 seconds and 4 git commands to generate.