If you have a back up that contains a backend that is not configured the restore fails, but a success return code is returned to the client. This happens because the return code gets overwritten after the failure.
Fix Description:
Preserve the error code upon failure and properly update the task exit code.
Bug Description:
If you have a back up that contains a backend that is not configured the restore fails, but a success return code is returned to the client. This happens because the return code gets overwritten after the failure.
Fix Description:
Preserve the error code upon failure and properly update the task exit code.
relates: https://pagure.io/389-ds-base/issue/50689