summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-21 05:16:31 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-21 05:16:31 +0200
commitcc42e0817ff82c5faa21678325b6683493b2e792 (patch)
tree512575c1ed3b750d65208aab99453ca324a9ad19
parenta7f241db3f1ae96ab2708092e1b31d2feb989947 (diff)
job: make sure restart jobs are readded to the run queue after conversion to start jobs
-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;
}