chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a7f241d
)
job: make sure restart jobs are readded to the run queue after conversion to start...
author
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jul 2010 03:16:31 +0000
(
05:16
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jul 2010 03:16:31 +0000
(
05:16
+0200)
src/job.c
patch
|
blob
|
history
diff --git
a/src/job.c
b/src/job.c
index 2b422b48773918235fee6e9f0a138099c9bc338b..d08bfe9a77d030805656b315bf7c082a1c3ab377 100644
(file)
--- 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;
}