summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/job.c b/src/job.c
index 2b422b4877..d08bfe9a77 100644
--- a/src/job.c
+++ b/src/job.c
@@ -485,6 +485,8 @@ int job_finish_and_invalidate(Job *j, bool success) {
j->state = JOB_WAITING;
j->type = JOB_START;
+
+ job_add_to_run_queue(j);
return 0;
}