diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 02:21:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 02:21:01 +0200 |
commit | 1db0db4b7f9c53f03efef2037ef6b0b384bfb248 (patch) | |
tree | 7b8be2abdf968cdab448fa8c458108ecec8ee3ce /src/machine/machined.c | |
parent | 2ab2ab7b19de7b4e1ef977a6c056ce0b525c198a (diff) |
service: transition through SIGKILL states only when SIGKILL is enabled
If there's no remaining process to kill, skip the SIGKILL states if
SIGKILL is disabled.
Effectively this doesn't change much since if there's nothing to kill
with SIGTERM or SIGABRT then there's also nothing to kill with SIGKILL.
However, this avoids confusion with the state engine jumping through
SIGKILL states for no reason...
Diffstat (limited to 'src/machine/machined.c')
0 files changed, 0 insertions, 0 deletions