From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 15 Nov 2006 16:55:17 -0000 Subject: [Cluster-devel] cluster/cman/init.d cman Message-ID: <20061115165517.29378.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: 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 --- cluster/cman/init.d/cman 2006/11/13 16:14:18 1.26.4.1 +++ cluster/cman/init.d/cman 2006/11/15 16:55:16 1.26.4.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