1
1

Ensure that we properly exit if the executable isn't found

This commit was SVN r21570.
Этот коммит содержится в:
Ralph Castain 2009-07-01 03:16:13 +00:00
родитель e72346bf9d
Коммит 9635db373d
2 изменённых файлов: 3 добавлений и 0 удалений

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

@ -875,6 +875,8 @@ void orte_plm_base_app_report_launch(int fd, short event, void *data)
jdata->aborted_proc = procs[vpid]; /* only store this once */
jdata->state = ORTE_JOB_STATE_FAILED_TO_START; /* update the job state */
}
/* increment the terminated counter */
jdata->num_terminated++;
/* ensure we have a non-zero exit code */
if (0 == jdata->aborted_proc->exit_code) {
jdata->aborted_proc->exit_code = ORTE_ERROR_DEFAULT_EXIT_CODE;

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

@ -266,6 +266,7 @@ void orte_plm_base_receive_process_msg(int fd, short event, void *data)
ORTE_VPID_PRINT(vpid)));
continue;
}
/* update the termination counter IFF the state is changing to something
* indicating terminated
*/