Skip to contentSkip to conversation

cluster/cman/init.d cman

Cluster-devel [email protected] 1 participant 1 message Nov 15, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: lhh at sourceware.org 2006-11-15 16:55:16

Modified files:
cman/init.d : cman

Log message:
Fix error reporting from cman if run while xend is not running.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/init.d/cman.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.26.4.1&r2=1.26.4.2

cman/init.d/cman +1 -1
@@ -145,7 +145,7 @@
     # Check for presence of Domain-0; if it's not there, we can't
     # run xvmd.
     #
-    xm list --long | grep -q "Domain-0" || return 1
+    xm list --long 2> /dev/null | grep -q "Domain-0" || return 1
 	
     #
     # Check for presence of /cluster/fence_xvmd in cluster.conf