]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
service: transition through SIGKILL states only when SIGKILL is enabled
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Apr 2015 00:21:01 +0000 (02:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Apr 2015 00:21:01 +0000 (02:21 +0200)
commit1db0db4b7f9c53f03efef2037ef6b0b384bfb248
tree7b8be2abdf968cdab448fa8c458108ecec8ee3ce
parent2ab2ab7b19de7b4e1ef977a6c056ce0b525c198a
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...
src/core/service.c