summaryrefslogtreecommitdiff
path: root/src/core/scope.c
diff options
context:
space:
mode:
authorUmut Tezduyar Lindskog <umut.tezduyar@axis.com>2014-10-28 16:35:40 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-28 17:37:39 +0100
commitdb2cb23b5b179707000d28a11efb3d888d06ee80 (patch)
treed2ee7df6404f5bfaa43a3d0d050fe877866fdce2 /src/core/scope.c
parentf10af76de5e6589e35ed620c75f3f6eb02cdf345 (diff)
core: send sigabrt on watchdog timeout to get the stacktrace
if sigabrt doesn't do the job, follow regular shutdown routine, sigterm > sigkill.
Diffstat (limited to 'src/core/scope.c')
-rw-r--r--src/core/scope.c2
1 files changed, 1 insertions, 1 deletions
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;