From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrassow@sourceware.org Date: 8 Mar 2007 19:37:43 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/resources lvm.sh Message-ID: <20070308193743.1407.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: RHEL4 Changes by: jbrassow at sourceware.org 2007-03-08 19:37:42 Modified files: rgmanager/src/resources: lvm.sh Log message: bug231408 Fix accidental hard-coded value. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/lvm.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2 --- cluster/rgmanager/src/resources/lvm.sh 2007/02/15 22:46:00 1.1.2.1 +++ cluster/rgmanager/src/resources/lvm.sh 2007/03/08 19:37:42 1.1.2.2 @@ -163,7 +163,7 @@ # # Check if device is active # - if [[ ! $(lvs -o attr --noheadings vg/mirror) =~ ....a. ]]; then + if [[ ! $(lvs -o attr --noheadings $lv_path) =~ ....a. ]]; then return $OCF_ERR_GENERIC fi