1
1

Set the exit code when a daemon fails

Этот коммит содержится в:
Ralph Castain 2015-05-22 21:05:23 -07:00
родитель 37d7ae14a7
Коммит 3510bb4ced

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

@ -318,6 +318,8 @@ static void proc_errors(int fd, short args, void *cbdata)
ORTE_FORCED_TERMINATE(ORTE_ERROR_DEFAULT_EXIT_CODE); ORTE_FORCED_TERMINATE(ORTE_ERROR_DEFAULT_EXIT_CODE);
goto cleanup; goto cleanup;
} }
/* set the exit code to reflect the problem */
child->exit_code = ORTE_ERR_COMM_FAILURE;
/* pack only the data for this daemon - have to start with the jobid /* pack only the data for this daemon - have to start with the jobid
* so the receiver can unpack it correctly * so the receiver can unpack it correctly
*/ */