Commit fd91c715 authored by Marshall Garey's avatar Marshall Garey Committed by Danny Auble
Browse files

Don't skip jobs in scontrol hold

Fix regression caused by commit bb8b4214.

Commit bb8b4214 introduced this in scontrol_hold():

-		job_msg.job_id_str = _next_job_id();
-		while (job_msg.job_id_str) {
+		while ((job_msg.job_id_str = _next_job_id())) {

But didn't take out _next_job_id() at the bottom of the while loop -
so _next_job_id() is called twice in a row, skipping every other job
in the list.

Bug 5902
parent c59df465
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment