From 9afe65d974fe5dd09ccb423aa8e5c22888833fdc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 30 Jun 2025 14:53:30 +0200 Subject: [PATCH] pid1: properly report if we managed to kill a process by cgroup --- src/core/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.47.3