Skip to contentSkip to conversation

cluster/cman/init.d cman

Cluster-devel [email protected] 1 participant 1 message Dec 8, 2006

lore
Share & tools
lore
#0 lore raw

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

cman/init.d/cman +4 -1
@@ -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
 }