diff options
author | David Ward <david.ward@ll.mit.edu> | 2012-04-29 09:35:40 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-22 01:53:30 +0200 |
commit | feae8adb848e26110b28a06d1244e02f36cdf382 (patch) | |
tree | 24e52f531cada6ac7e9c0e019443b50fc41e8ed8 | |
parent | 30edf1161600fe1b18f30264f05b4f602eb0e8a3 (diff) |
service: actually delay auto-restart if another job is pending
https://bugs.freedesktop.org/show_bug.cgi?id=45511
-rw-r--r-- | src/core/service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/service.c b/src/core/service.c index 2bd29ff7e6..4f03754659 100644 --- 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 |