From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 15 Nov 2006 16:54:52 -0000 Subject: [Cluster-devel] cluster/cman/init.d cman Message-ID: <20061115165452.29010.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: lhh at sourceware.org 2006-11-15 16:54:51 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=RHEL5&r1=1.26.2.1&r2=1.26.2.2 --- cluster/cman/init.d/cman 2006/11/13 16:14:06 1.26.2.1 +++ cluster/cman/init.d/cman 2006/11/15 16:54:51 1.26.2.2 @@ -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