diff options
Diffstat (limited to 'src/core/scope.c')
-rw-r--r-- | src/core/scope.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/scope.c b/src/core/scope.c index 87983f6b17..5beb4f80c4 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -238,7 +238,9 @@ static void scope_enter_signal(Scope *s, ScopeState state, ScopeResult f) { goto fail; scope_set_state(s, state); - } else + } else if (state == SCOPE_STOP_SIGTERM) + scope_enter_signal(s, SCOPE_STOP_SIGKILL, SCOPE_SUCCESS); + else scope_enter_dead(s, SCOPE_SUCCESS); return; |