From: Lennart Poettering Date: Mon, 30 Jun 2025 12:53:30 +0000 (+0200) Subject: pid1: properly report if we managed to kill a process by cgroup X-Git-Tag: v258-rc1~142^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9afe65d974fe5dd09ccb423aa8e5c22888833fdc;p=thirdparty%2Fsystemd.git pid1: properly report if we managed to kill a process by cgroup --- diff --git a/src/core/unit.c b/src/core/unit.c index ff6bac576de..1feb5226554 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -4136,7 +4136,7 @@ int unit_kill( "Failed to send signal SIG%s to auxiliary processes on client request: %m", signal_to_string(signo))); } - killed = killed || r >= 0; + killed = killed || r > 0; } }