Put error in error buffer for PCM but do not set return code as error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-12-11 14:36:43 +00:00
parent 7aaa8059f0
commit 5680c81ee5

View File

@ -589,8 +589,8 @@ sub _execute_dsh
push @{$rsp->{data}}, @{$output_buffers{$user_target}};
xCAT::MsgUtils->message("D", $rsp, $::CALLBACK);
$rsp = {};
push @{$rsp->{data}}, @{$error_buffers{$user_target}};
xCAT::MsgUtils->message("D", $rsp, $::CALLBACK);
push @{$rsp->{error}}, @{$error_buffers{$user_target}};
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK,0);
}
}
else
@ -604,8 +604,8 @@ sub _execute_dsh
push @{$rsp->{data}}, @{$output_buffers{$user_target}};
xCAT::MsgUtils->message("D", $rsp, $::CALLBACK);
$rsp = {};
push @{$rsp->{data}}, @{$error_buffers{$user_target}};
xCAT::MsgUtils->message("D", $rsp, $::CALLBACK);
push @{$rsp->{error}}, @{$error_buffers{$user_target}};
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK,0);
}
}