Change the ordering slightly; don't save anything until we know all
went well. This commit was SVN r20748.
Этот коммит содержится в:
родитель
02c4f384b8
Коммит
c17616c332
@ -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;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user