-Fix makedhcp without extra arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
fdb4b70285
commit
f295d30fa8
@ -299,8 +299,10 @@ sub preprocess_request
|
||||
my $req = shift;
|
||||
$callback = shift;
|
||||
my $localonly;
|
||||
@ARGV = @{$req->{arg}};
|
||||
GetOptions('l' => \$localonly);
|
||||
if (ref $req->{arg}) {
|
||||
@ARGV = @{$req->{arg}};
|
||||
GetOptions('l' => \$localonly);
|
||||
}
|
||||
if ($req->{_xcatdest})
|
||||
{
|
||||
return [$req];
|
||||
|
Loading…
Reference in New Issue
Block a user