From 403f1ee57d8df1992a12446878a298721b09277a Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 23 Nov 2009 18:00:40 +0000 Subject: [PATCH] fixed uninitialized var bug git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/xCATWorld.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/xCATWorld.pm b/xCAT-server/lib/xcat/plugins/xCATWorld.pm index 45d0db910..25e5a7638 100644 --- a/xCAT-server/lib/xcat/plugins/xCATWorld.pm +++ b/xCAT-server/lib/xcat/plugins/xCATWorld.pm @@ -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";