Set the exit code when a daemon fails
Этот коммит содержится в:
родитель
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
|
||||||
*/
|
*/
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user