diff --git a/xCAT-server/lib/xcat/plugins/bind.pm b/xCAT-server/lib/xcat/plugins/bind.pm index 8701428b3..95e04d0b2 100755 --- a/xCAT-server/lib/xcat/plugins/bind.pm +++ b/xCAT-server/lib/xcat/plugins/bind.pm @@ -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};