naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
84b277
From 1368259de25f91b0130fcf9a8dd1623b3354ba10 Mon Sep 17 00:00:00 2001
84b277
From: Lennart Poettering <lennart@poettering.net>
84b277
Date: Thu, 6 Feb 2014 19:46:46 +0100
84b277
Subject: [PATCH] core: don't send duplicate SIGCONT when killing units
84b277
84b277
(cherry-picked from 8190da36f71a887945297cd65d6426c78b466a50)
84b277
84b277
Resolves: #1147524
84b277
---
84b277
 src/core/unit.c | 2 +-
84b277
 1 file changed, 1 insertion(+), 1 deletion(-)
84b277
84b277
diff --git a/src/core/unit.c b/src/core/unit.c
84b277
index fe1864a..87a6385 100644
84b277
--- a/src/core/unit.c
84b277
+++ b/src/core/unit.c
84b277
@@ -3169,7 +3169,7 @@ int unit_kill_context(
84b277
                                 if (!pid_set)
84b277
                                         return -ENOMEM;
84b277
 
84b277
-                                cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, SIGHUP, true, true, false, pid_set);
84b277
+                                cg_kill_recursive(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, SIGHUP, false, true, false, pid_set);
84b277
                         }
84b277
                 }
84b277
         }