Skip to content
Snippets Groups Projects
Commit 6cfc365b authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Fix braino

parent 692091f8
No related branches found
No related tags found
No related merge requests found
......@@ -939,9 +939,9 @@ _kill_running_tasks(slurmd_job_t *job)
steps = shm_get_steps();
i = list_iterator_create(steps);
/* find the job_step_t for this job step */
/* find the job_step_t for this job step in the list from shared mem */
while ((s = list_next(i)))
if ((s->jobid == job->jobid) || (s->stepid == job->stepid))
if ((s->jobid == job->jobid) && (s->stepid == job->stepid))
break;
if (!s)
return;
......
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