diff options
Diffstat (limited to 'src/core/service.c')
-rw-r--r-- | src/core/service.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/service.c b/src/core/service.c index f8370cfc16..083c2eb444 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2694,9 +2694,8 @@ static int service_dispatch_timer(sd_event_source *source, usec_t usec, void *us break; case SERVICE_STOP_SIGABRT: - log_unit_warning(UNIT(s)->id, - "%s stop-sigabrt timed out. Terminating.", UNIT(s)->id); - service_enter_signal(s, SERVICE_STOP_SIGTERM, s->result); + log_unit_warning(UNIT(s)->id, "%s stop-sigabrt timed out. Terminating.", UNIT(s)->id); + service_enter_signal(s, SERVICE_STOP_SIGTERM, SERVICE_FAILURE_TIMEOUT); break; case SERVICE_STOP_SIGTERM: |