]> git.pld-linux.org Git - packages/apache.git/commitdiff
- ankry: LSB says "stop" must always return 0. As it must not fail.
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 18 May 2005 15:25:00 +0000 (15:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.40

apache.init

index 891545be5af3af94f40fb5a796953583e81229ba..439445c29ed0df6c71806b4c5076c1804ddb99a5 100644 (file)
@@ -61,9 +61,9 @@ case "$1" in
        if [ -f /var/lock/subsys/httpd ]; then
                msg_stopping httpd.${HTTPD_MPM}
                daemon --waitforname httpd.${HTTPD_MPM} --waitfortime 60 httpd.${HTTPD_MPM} $CFG -k stop
-               RETVAL=$?
+               RET=$?
                # Delete pidfile only when apache was called successfully
-               if [ $RETVAL -eq 0 ]; then
+               if [ $RET -eq 0 ]; then
                        rm -f /var/lock/subsys/httpd /var/run/httpd.pid /var/run/httpd.loc* >/dev/null 2>&1
                fi
        else
This page took 1.184038 seconds and 4 git commands to generate.