This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - init: cmannotifyd failure should not exit


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=03d4c36468e18ef0ad831e5216f70ddaf22a71e0
Commit:        03d4c36468e18ef0ad831e5216f70ddaf22a71e0
Parent:        e09ef5414ee8b32e44be70907a08c3c16e43114d
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Fri Mar 20 05:55:00 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Mar 20 06:45:55 2009 +0100

init: cmannotifyd failure should not exit

return error instead as it is supposed to do

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/init.d/cman.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 11e9f73..816a204 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -262,7 +262,7 @@ start_daemons()
 	    ;;
 	    *)
 		errmsg="unknown CMAN_NOTIFYD_START option"
-		exit 1
+		return 1
 	    ;;
 	esac
     fi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]