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: STABLE3 - cman init: don't stop fence_xvmd if we don't knowthe status


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=87076cf3354bdacdabe9fddf9b43b6080e33bca0
Commit:        87076cf3354bdacdabe9fddf9b43b6080e33bca0
Parent:        e565c3a5587a01b68a1969f2fab574d6f99d2af8
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Tue Jun 30 11:48:29 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 30 11:48:29 2009 +0200

cman init: don't stop fence_xvmd if we don't know the status

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

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index c5020bc..7e55705 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -393,6 +393,8 @@ fence_xvmd_enabled()
 		! check_fence_opt X; then
 			ccs_tool query /cluster/fence_xvmd \
 				> /dev/null 2>&1 || return 1
+	else
+		return 1
 	fi
 }
 


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