[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
Changes by:	rohara sourceware org	2006-07-10 18:53:59

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

Log message:
	Name of node to be fenced is passed via "nodename=" parameter.

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

--- cluster/fence/agents/scsi/fence_scsi.pl	2006/07/06 21:58:30	1.3
+++ cluster/fence/agents/scsi/fence_scsi.pl	2006/07/10 18:53:58	1.4
@@ -103,7 +103,7 @@
 	elsif ($name eq "agent")
 	{
 	}
-	elsif ($name eq "node")
+	elsif ($name eq "nodename")
 	{
 	    $opt_n = $val;
 	}
@@ -227,7 +227,7 @@
 
     get_options_stdin();
 
-    fail "failed: missing 'node'" unless defined $node;
+    fail "failed: missing 'node'" unless defined $opt_n;
 
 }
 


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