chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: actually delay auto-restart if another job is pending
[elogind.git]
/
src
/
core
/
service.c
diff --git
a/src/core/service.c
b/src/core/service.c
index 2bd29ff7e6333254adbf3c54f2a0143a67ace7c7..4f0375465986680f6be34e911f7e712b327dbaed 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