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
This commit is contained in:
parent
fac000c8d9
commit
78b442171e
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user