1
1

forgot a bit of error checking in the last commit

This commit was SVN r16953.
Этот коммит содержится в:
Josh Hursey 2007-12-13 14:41:18 +00:00
родитель a287c9cb65
Коммит f7812baf5b

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

@ -872,7 +872,9 @@ static int snapc_full_global_check_for_done(orte_jobid_t jobid) {
global_dir = orte_snapc_base_get_global_snapshot_directory(global_snapshot.reference_name);
orte_snapc_base_global_snapshot_loc = strdup(global_dir);
if( ORTE_SNAPC_CKPT_STATE_ERROR != cur_job_ckpt_state ) {
cur_job_ckpt_state = ORTE_SNAPC_CKPT_STATE_FILE_XFER;
}
if( ORTE_SUCCESS != (ret = orte_snapc_base_set_job_ckpt_info(jobid,
cur_job_ckpt_state,
@ -906,7 +908,9 @@ static int snapc_full_global_check_for_done(orte_jobid_t jobid) {
/**********************************
* Update the job checkpoint state
**********************************/
if( ORTE_SNAPC_CKPT_STATE_ERROR != cur_job_ckpt_state ) {
cur_job_ckpt_state = ORTE_SNAPC_CKPT_STATE_FINISHED;
}
if( ORTE_SUCCESS != (ret = orte_snapc_base_set_job_ckpt_info(jobid,
cur_job_ckpt_state,