diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-21 05:16:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-21 05:16:31 +0200 |
commit | cc42e0817ff82c5faa21678325b6683493b2e792 (patch) | |
tree | 512575c1ed3b750d65208aab99453ca324a9ad19 /src | |
parent | a7f241db3f1ae96ab2708092e1b31d2feb989947 (diff) |
job: make sure restart jobs are readded to the run queue after conversion to start jobs
Diffstat (limited to 'src')
-rw-r--r-- | src/job.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |