Fix nodestat without arguments

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-07-12 12:57:32 +00:00
parent 18fb920fbf
commit 6f81d9b68a

View File

@ -840,10 +840,12 @@ sub process_request {
my $command = $request->{command}->[0];
my $separator="XXXXXYYYYYZZZZZ";
my $usefping;
@ARGV=@{$request->{arg}};
GetOptions(
'f' => \$usefping
);
if (ref $request->{arg}) {
@ARGV=@{$request->{arg}};
GetOptions(
'f' => \$usefping
);
}
if ($command eq "nodestat_internal") {