ctdb.init: fix return code of "service ctdb stop" on non-redhat systems
authorMichael Adam <obnox@samba.org>
Fri, 12 Dec 2008 15:05:04 +0000 (16:05 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 15 Dec 2008 22:50:53 +0000 (09:50 +1100)
Michael

config/ctdb.init

index 629b1946ea82d91297b2aa7c71368989e6f45f82..674298351e4ee6dabfc59445148d7c3c322e4d98 100755 (executable)
@@ -176,9 +176,9 @@ stop() {
                echo
                [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ctdb
                echo ""
-               return $RETVAL
                ;;
        esac
+       return $RETVAL
 }      
 
 restart() {