fix defect 2985

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-01-07 18:54:00 +00:00
parent 0118c0e7d5
commit 7adbe1de86

View File

@ -120,11 +120,8 @@ sub preprocess_request
my $req = shift;
my $cb = shift;
my %sn;
if ((defined($req->{_xcatpreprocessed})) &&
($req->{_xcatpreprocessed}->[0] == 1)) {
return [$req];
}
if (defined $req->{_xcatpreprocessed}->[0] && $req->{_xcatpreprocessed}->[0] == 1) { return [$req]; }
#exit if preprocessed
my $command = $req->{command}->[0];
if ($command eq "nodestat") {