Skip to content

Commit 4e9bdf5

Browse files
yosefeSergey Oblomov
authored andcommitted
pml_ucx: fix return code from mca_pml_ucx_init()
Signed-off-by: Yossi Itigin <[email protected]> (cherry picked from commit 40ac9e4)
1 parent 9e610ee commit 4e9bdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/ucx/pml_ucx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ int mca_pml_ucx_init(void)
247247
PML_UCX_VERBOSE(2, "created ucp context %p, worker %p",
248248
(void *)ompi_pml_ucx.ucp_context,
249249
(void *)ompi_pml_ucx.ucp_worker);
250-
return OMPI_SUCCESS;
250+
return rc;
251251

252252
err_destroy_worker:
253253
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);

0 commit comments

Comments
 (0)