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:
parent
38b3d1c46a
commit
0d6b9af866
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user