Skip to contentSkip to conversation

cluster/rgmanager/src/resources lvm.sh

Cluster-devel [email protected] 1 participant 1 message Mar 8, 2007

lore
Share & tools
lore
#0 lore raw

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

rgmanager/src/resources/lvm.sh +1 -1
@@ -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