From db2cb23b5b179707000d28a11efb3d888d06ee80 Mon Sep 17 00:00:00 2001 From: Umut Tezduyar Lindskog Date: Tue, 28 Oct 2014 16:35:40 +0100 Subject: core: send sigabrt on watchdog timeout to get the stacktrace if sigabrt doesn't do the job, follow regular shutdown routine, sigterm > sigkill. --- src/core/scope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/scope.c') diff --git a/src/core/scope.c b/src/core/scope.c index e8f9e8dd73..0f7c1f97ce 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -243,7 +243,7 @@ static void scope_enter_signal(Scope *s, ScopeState state, ScopeResult f) { r = unit_kill_context( UNIT(s), &s->kill_context, - state != SCOPE_STOP_SIGTERM, + state != SCOPE_STOP_SIGTERM ? KILL_KILL : KILL_TERMINATE, -1, -1, false); if (r < 0) goto fail; -- cgit v1.2.3-54-g00ecf