|
@@ -816,7 +816,9 @@ saCkptCheckpointClose (
|
|
|
error = saRecvRetry (ckptCheckpointInstance->response_fd, &res_lib_ckpt_checkpointclose,
|
|
error = saRecvRetry (ckptCheckpointInstance->response_fd, &res_lib_ckpt_checkpointclose,
|
|
|
sizeof (struct res_lib_ckpt_checkpointclose), MSG_WAITALL | MSG_NOSIGNAL);
|
|
sizeof (struct res_lib_ckpt_checkpointclose), MSG_WAITALL | MSG_NOSIGNAL);
|
|
|
|
|
|
|
|
- error == SA_AIS_OK ? res_lib_ckpt_checkpointclose.header.error : error;
|
|
|
|
|
|
|
+ if (error == SA_AIS_OK) {
|
|
|
|
|
+ error = res_lib_ckpt_checkpointclose.header.error;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (error == SA_AIS_OK) {
|
|
if (error == SA_AIS_OK) {
|
|
|
ckptCheckpointInstanceFinalize (ckptCheckpointInstance);
|
|
ckptCheckpointInstanceFinalize (ckptCheckpointInstance);
|