]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- fix reload
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Jan 2009 12:19:55 +0000 (12:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix.init -> 1.24

postfix.init

index 557d9f6efae1c53795b59951471903cf8a11c299..2f2c3fe6614e5a622d0cdcc6de3dfda1832fea55 100644 (file)
@@ -75,7 +75,13 @@ reload() {
                busy
                msg=$(/usr/sbin/postfix reload 2>&1)
                RETVAL=$?
-               [ $RETVAL -ne 0 ] && RETVAL=7
+               if [ $RETVAL -eq 0 ]; then
+                       ok
+               else
+                       fail
+                       echo >&2 "$msg"
+                       RETVAL=7
+               fi
        else
                msg_not_running "Postfix"
                RETVAL=7
This page took 0.195544 seconds and 4 git commands to generate.