Skip to content

Commit 69d136a

Browse files
committed
ompi/pmix: fix misc OPAL function calls
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
1 parent e0e924c commit 69d136a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ompi/mca/rte/pmix/rte_pmix_module.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
1111
* Copyright (c) 2018 Triad National Security, LLC. All rights
1212
* reserved.
13+
* Copyright (c) 2019 Research Organization for Information Science
14+
* and Technology (RIST). All rights reserved.
1315
* $COPYRIGHT$
1416
*/
1517
#include "ompi_config.h"
@@ -758,12 +760,12 @@ int ompi_rte_init(int *pargc, char ***pargv)
758760
return OPAL_SUCCESS;
759761

760762
error:
761-
opal_show_help_finalize();
762763
if (OPAL_ERR_SILENT != ret ) {
763764
opal_show_help("help-ompi-rte-pmix.txt",
764765
"internal-failure",
765766
true, error, opal_strerror(ret), ret);
766767
}
768+
opal_finalize();
767769
return ret;
768770

769771
}

0 commit comments

Comments
 (0)