[Cluster-devel] cluster/rgmanager/src/resources nfsclient.sh

lhh at sourceware.org lhh at sourceware.org
Wed Aug 2 17:24:18 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	lhh at sourceware.org	2006-08-02 17:24:18

Modified files:
	rgmanager/src/resources: nfsclient.sh 

Log message:
	fix 200449 - status checks wrong

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/nfsclient.sh.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.3.2.2.6.5&r2=1.3.2.2.6.6

--- cluster/rgmanager/src/resources/nfsclient.sh	2006/06/16 20:07:46	1.3.2.2.6.5
+++ cluster/rgmanager/src/resources/nfsclient.sh	2006/08/02 17:24:18	1.3.2.2.6.6
@@ -336,9 +336,9 @@
         # * Exports with RegExp metacharacters need to be escaped. 
         #   These metacharacters are: * ? . 
         # 
-	export OCF_RESKEY_target_regexp=$(echo $OCF_RESKEY_target | \ 
+	export OCF_RESKEY_target_regexp=$(echo $OCF_RESKEY_target | \
 		sed -e 's/*/[*]/g' -e 's/?/[?]/g' -e 's/\./\\./g') 
-        exportfs -v | tr -d "\n" | sed -e 's/([^)]*)/\n/g' | grep -q \ 
+        exportfs -v | tr -d "\n" | sed -e 's/([^)]*)/\n/g' | grep -q \
 		"^${OCF_RESKEY_path}[\t ]*.*${OCF_RESKEY_target_regexp}" 
 	rv=$? 
 	;;




More information about the Cluster-devel mailing list