From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 2 Aug 2006 17:23:02 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/resources nfsclient.sh Message-ID: <20060802172302.24868.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: RHEL4U4 Changes by: lhh at sourceware.org 2006-08-02 17:23:01 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=RHEL4U4&r1=1.3.2.8&r2=1.3.2.8.2.1 --- cluster/rgmanager/src/resources/nfsclient.sh 2006/06/16 19:57:52 1.3.2.8 +++ cluster/rgmanager/src/resources/nfsclient.sh 2006/08/02 17:23:01 1.3.2.8.2.1 @@ -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=$? ;;