[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/fence/agents/scsi fence_scsi.pl



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara sourceware org	2006-12-07 20:04:17

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix problem when parsing the output from lvs command.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.5&r2=1.5.6.6

--- cluster/fence/agents/scsi/fence_scsi.pl	2006/12/07 19:43:04	1.5.6.5
+++ cluster/fence/agents/scsi/fence_scsi.pl	2006/12/07 20:04:17	1.5.6.6
@@ -175,7 +175,7 @@
 
 	if ($vg_attrs =~ /.*c$/)
 	{
-	    $device =~ s/\(.*\)://;
+	    $device =~ s/\(.*\)//;
 	    push @volumes, $device;
 	}
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]