diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c index 4369a918a550e1323330c3116ea44021575d7347..59414c9b467f4cd2f7f880765621e17481d49331 100644 --- a/src/slurmctld/job_mgr.c +++ b/src/slurmctld/job_mgr.c @@ -1421,6 +1421,7 @@ job_complete(uint32_t job_id, uid_t uid, bool requeue, job_comp_flag = JOB_COMPLETING; if (requeue && (job_ptr->batch_flag > 1)) { + /* Failed one requeue, just kill it */ requeue = 0; if (job_return_code == 0) job_return_code = 1;