projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30edf11
)
service: actually delay auto-restart if another job is pending
author
David Ward
<david.ward@ll.mit.edu>
Sun, 29 Apr 2012 13:35:40 +0000
(09:35 -0400)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 21 May 2012 23:53:30 +0000
(
01:53
+0200)
https://bugs.freedesktop.org/show_bug.cgi?id=45511
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index
2bd29ff
..
4f03754
100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-2232,6
+2232,8
@@
static void service_enter_restart(Service *s) {
if ((r = unit_watch_timer(UNIT(s), s->restart_usec, &s->timer_watch)) < 0)
goto fail;
+
+ return;
}
/* Any units that are bound to this service must also be