Skip to content

Commit 40ac9e4

Browse files
committed
pml_ucx: fix return code from mca_pml_ucx_init()
Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
1 parent 4763822 commit 40ac9e4

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
@@ -253,7 +253,7 @@ int mca_pml_ucx_init(void)
253253
PML_UCX_VERBOSE(2, "created ucp context %p, worker %p",
254254
(void *)ompi_pml_ucx.ucp_context,
255255
(void *)ompi_pml_ucx.ucp_worker);
256-
return OMPI_SUCCESS;
256+
return rc;
257257

258258
err_destroy_worker:
259259
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);

0 commit comments

Comments
 (0)