-Fix makedhcp without extra arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -299,8 +299,10 @@ sub preprocess_request | ||||
|     my $req = shift; | ||||
|     $callback = shift; | ||||
|     my $localonly; | ||||
|     @ARGV       = @{$req->{arg}}; | ||||
|     GetOptions('l' => \$localonly); | ||||
|     if (ref $req->{arg}) { | ||||
|         @ARGV       = @{$req->{arg}}; | ||||
|         GetOptions('l' => \$localonly); | ||||
|     } | ||||
|     if ($req->{_xcatdest}) | ||||
|     { | ||||
|         return [$req]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user