From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 2 Aug 2006 17:24:18 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/resources nfsclient.sh Message-ID: <20060802172418.25350.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: 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=$? ;;