Fix problem when request did not have adequate arg in dhcp.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-05-20 17:59:46 +00:00
parent 3456243248
commit fd942bcf5a

View File

@ -1533,7 +1533,7 @@ sub process_request
}
}
@ARGV = @{$req->{arg}};
if ($req && $req->{arg}) { @ARGV = @{$req->{arg}}; } else { @ARGV=(); }
$statements = "";
GetOptions('s|statements=s' => \$statements);