From e93f46757ecbdf2d960ea6e547f818ed3c0f1e1f Mon Sep 17 00:00:00 2001 From: David Ward Date: Sun, 29 Apr 2012 09:35:40 -0400 Subject: [PATCH] service: actually delay auto-restart if another job is pending --- 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 4358a94..e9fbd6d 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2220,6 +2220,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 -- 1.7.1