1
1

orte/util: minor improvement to show_help

Make sure the show help gives it a good try to
print an error message locally if the
send_buffer_nb method returns an error.
Этот коммит содержится в:
Howard Pritchard 2015-01-23 13:54:03 -08:00
родитель cf2ad0ab45
Коммит 1e94d84ae6

Просмотреть файл

@ -666,6 +666,8 @@ int orte_show_help_norender(const char *filename, const char *topic,
orte_rml_send_callback, NULL))) {
ORTE_ERROR_LOG(rc);
OBJ_RELEASE(buf);
/* okay, that didn't work, just process locally error, just ignore return */
show_help(filename, topic, NULL, ORTE_PROC_MY_NAME);
} else {
rc = ORTE_SUCCESS;
}
@ -732,6 +734,8 @@ int orte_show_help_suppress(const char *filename, const char *topic)
orte_rml_send_callback, NULL))) {
ORTE_ERROR_LOG(rc);
OBJ_RELEASE(buf);
/* okay, that didn't work, just process locally error, just ignore return */
show_help(filename, topic, NULL, ORTE_PROC_MY_NAME);
}
am_inside = false;
}