diff --git a/orte/mca/notifier/base/notifier_base_select.c b/orte/mca/notifier/base/notifier_base_select.c index 0014a06d5a..457e856bff 100644 --- a/orte/mca/notifier/base/notifier_base_select.c +++ b/orte/mca/notifier/base/notifier_base_select.c @@ -69,9 +69,6 @@ int orte_notifier_base_select(void) goto cleanup; } - /* Save the winner */ - orte_notifier = *best_module; - if (NULL != orte_notifier.init) { /* if an init function is provided, use it */ if (ORTE_SUCCESS != (ret = orte_notifier.init()) ) { @@ -80,6 +77,9 @@ int orte_notifier_base_select(void) } } + /* Save the winner */ + orte_notifier = *best_module; + cleanup: return exit_status; }