chiark / gitweb /
core: send sigabrt on watchdog timeout to get the stacktrace
[elogind.git] / src / core / scope.c
index e8f9e8dd738ab56faaf5cfa3b678684f21af9c38..0f7c1f97ce79463a225b44e351a689dc67483c8a 100644 (file)
@@ -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;