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:
parent
18fb920fbf
commit
6f81d9b68a
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user