diff --git a/xCAT-server-2.0/lib/xcat/plugins/fsp.pm b/xCAT-server-2.0/lib/xcat/plugins/fsp.pm index 58a9bb051..df2ac2bb1 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/fsp.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/fsp.pm @@ -38,7 +38,11 @@ sub process_request { eval { require Net::SSL }; if ( $@ ) { my $callback = $_[1]; - $callback->( {data=>[$@]} ); + my %output; + + $output{errorcode} = 1; + $output{data} = [$@]; + $callback->( \%output ); return(1); } xCAT::PPC::process_request(__PACKAGE__,@_);