From: DaanDeMeyer Date: Sat, 12 Jul 2025 07:40:22 +0000 (+0200) Subject: core: Fix scope SIGTERM logging X-Git-Tag: v258-rc1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b98d6bff23c61d536cd75435c46c58f1783e5bfd;p=thirdparty%2Fsystemd.git core: Fix scope SIGTERM logging KILL_TERMINATE_AND_LOG doesn't do anything at the moment, let's fix that. --- diff --git a/src/core/unit.c b/src/core/unit.c index 26d196cfcaa..a25954571b3 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -4857,7 +4857,7 @@ static int operation_to_signal( case KILL_TERMINATE: case KILL_TERMINATE_AND_LOG: - *ret_noteworthy = false; + *ret_noteworthy = k == KILL_TERMINATE_AND_LOG; return c->kill_signal; case KILL_RESTART: