fixed uninitialized var bug

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2009-11-23 18:00:40 +00:00
parent ce37886fb8
commit 403f1ee57d

View File

@ -50,7 +50,7 @@ sub preprocess_request
my $callback = shift;
my %sn;
#if already preprocessed, go straight to request
if ($req->{_xcatpreprocessed}->[0] == 1 ) { return [$req]; }
if (($req->{_xcatpreprocessed}) and ($req->{_xcatpreprocessed}->[0] == 1) ) { return [$req]; }
my $nodes = $req->{node};
my $service = "xcat";