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/trunk@16367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-05-20 17:59:40 +00:00
parent 38b3d1c46a
commit 0d6b9af866

View File

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