fix defect #3843 copycds complains Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 148.
This commit is contained in:
parent
92b9ca4b9e
commit
72de3aedfb
@ -145,8 +145,8 @@ sub preprocess_request {
|
||||
my $request = shift;
|
||||
my $callback = shift;
|
||||
#if already preprocessed, go straight to request
|
||||
if ( (defined($request->{_xcatpreprocessed}->[0]))
|
||||
&& ($request->{_xcatpreprocessed}->[0] == 1))
|
||||
if ( $request and $request->{_xcatpreprocessed} and $request->{_xcatpreprocessed}->[0]
|
||||
and ($request->{_xcatpreprocessed}->[0] == 1))
|
||||
{
|
||||
return [$request];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user