Skip to content
Snippets Groups Projects
Commit b33b24c6 authored by Moe Jette's avatar Moe Jette
Browse files

No error message if job completes from pending state.

parent d1aae404
No related branches found
No related tags found
No related merge requests found
......@@ -1093,7 +1093,8 @@ job_complete (uint32_t job_id, uid_t uid)
return ESLURM_USER_ID_MISSING;
}
if ((job_ptr->job_state == JOB_STAGE_IN) ||
if ((job_ptr->job_state == JOB_PENDING) ||
(job_ptr->job_state == JOB_STAGE_IN) ||
(job_ptr->job_state == JOB_RUNNING) ||
(job_ptr->job_state == JOB_STAGE_OUT)) {
deallocate_nodes (job_ptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment