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

[Cluster-devel] cluster/fence/agents/sanbox2 fence_sanbox2.pl



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-08-16 19:06:06

Modified files:
	fence/agents/sanbox2: fence_sanbox2.pl 

Log message:
	don't barf on unknown option arg

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/sanbox2/fence_sanbox2.pl.diff?cvsroot=cluster&r1=1.2&r2=1.3

--- cluster/fence/agents/sanbox2/fence_sanbox2.pl	2005/01/18 00:30:20	1.2
+++ cluster/fence/agents/sanbox2/fence_sanbox2.pl	2006/08/16 19:06:05	1.3
@@ -227,12 +227,5 @@
 	{
             $opt_n = $val;
         } 
-
-        # FIXME should we do more error checking?  
-        # Excess name/vals will be eaten for now
-	else 
-	{
-           fail "parse error: unknown option \"$opt\"";
-        }
     }
 }


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