diff --git a/src/srun/io.c b/src/srun/io.c index d95a4023d48b5578b0cd53048e4cbd73de8f324b..a34a18aabc990183cf61a1d7c64dce3882949082 100644 --- a/src/srun/io.c +++ b/src/srun/io.c @@ -416,8 +416,7 @@ static char *_host_state_name(host_state_t state_inx) static bool _job_io_done(job_t *job) { - if ((job->state == SRUN_JOB_DETACHED) || - (job->state == SRUN_JOB_OVERDONE)) + if (job->state == SRUN_JOB_DETACHED) return true; else return false; diff --git a/src/srun/msg.c b/src/srun/msg.c index 3f1213a39b99f8ad967a753a62f50ceb5b4ba6da..08c99323e09e6e5fcd5dcb51dfe4a4414c18c372 100644 --- a/src/srun/msg.c +++ b/src/srun/msg.c @@ -379,7 +379,7 @@ _exit_handler(job_t *job, slurm_msg_t *exit_msg) tasks_exited++; if (tasks_exited == opt.nprocs) { - debug2("all tasks exited"); + debug2("All tasks exited"); update_job_state(job, SRUN_JOB_OVERDONE); } }