From 78b442171e265babf8dabba4c5fa349c3d1a2635 Mon Sep 17 00:00:00 2001 From: mellor Date: Fri, 24 Jun 2011 18:19:07 +0000 Subject: [PATCH] clear out any garbage left in ARGV before calling plugin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 3e7b46d23..d736e4051 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -842,6 +842,7 @@ sub plugin_command { use xCAT::NodeRange qw/extnoderange nodesmissed noderange/; $Main::resps={}; my @nodes; + @ARGV = (); if ($req->{node}) { @nodes = @{$req->{node}}; } elsif ($req->{noderange} and $req->{noderange}->[0]) {