Skip to contentSkip to conversation

cluster/rgmanager/src/resources nfsclient.sh

Cluster-devel [email protected] 1 participant 1 message Aug 2, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2006-08-02 17:23:27

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=RHEL4&r1=1.3.2.8&r2=1.3.2.9

rgmanager/src/resources/nfsclient.sh +2 -2
@@ -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=$? 
 	;;