From mboxrd@z Thu Jan 1 00:00:00 1970 From: adas@sourceware.org Date: 8 Dec 2006 22:01:16 -0000 Subject: [Cluster-devel] cluster/cman/init.d cman Message-ID: <20061208220116.19811.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: adas at sourceware.org 2006-12-08 22:01:16 Modified files: cman/init.d : cman Log message: don't fail if unmounting configfs fails Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/init.d/cman.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.26.2.2&r2=1.26.2.3 --- cluster/cman/init.d/cman 2006/11/15 16:54:51 1.26.2.2 +++ cluster/cman/init.d/cman 2006/12/08 22:01:16 1.26.2.3 @@ -241,7 +241,10 @@ if [ $? -eq 0 ] then errmsg=$( /bin/umount /sys/kernel/config 2>&1 ) - return $? + if [ $? -ne 0 ] + then + echo -n $errmsg " " + fi fi return 0 }