-Fix problem where makedns would fail without arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0d396a973d
commit
2f900ff875
@ -113,7 +113,10 @@ sub process_request {
|
||||
$callback->({error=>["No site table found"],errorcode=>[1]});
|
||||
return;
|
||||
}
|
||||
my @args = @{$request->{arg}};
|
||||
my @args=();
|
||||
if ($request->{$arg}) {
|
||||
@args = @{$request->{arg}};
|
||||
}
|
||||
(my $fent) = $sitetab->getAttribs({key=>'forwarders'},'value');
|
||||
if ($fent and defined $fent->{value}) {
|
||||
@forwarders = split /[,:;]/,$fent->{value};
|
||||
|
Loading…
Reference in New Issue
Block a user