From 92b9ca4b9eb1c7e68552ac887489826a26925b71 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 18 Oct 2013 02:24:36 -0700 Subject: [PATCH] fix defect #3843 copycds complains Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 148. --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 97ec50eff..c9db992f4 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -145,7 +145,7 @@ sub preprocess_request { my $request = shift; my $callback = shift; #if already preprocessed, go straight to request - if ( (defined($request->{_xcatpreprocessed})) + if ( (defined($request->{_xcatpreprocessed}->[0])) && ($request->{_xcatpreprocessed}->[0] == 1)) { return [$request];