X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fscope.c;h=0f7c1f97ce79463a225b44e351a689dc67483c8a;hb=45071fcaa03eafc27352987fa2277b2792725036;hp=e8f9e8dd738ab56faaf5cfa3b678684f21af9c38;hpb=6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222b;p=elogind.git diff --git a/src/core/scope.c b/src/core/scope.c index e8f9e8dd7..0f7c1f97c 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;