summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/service.c2
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