]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.c
Merge pull request #3965 from htejun/systemd-controller-on-unified
[thirdparty/systemd.git] / src / core / unit.c
index 4b8d81c3f1850c5c0c8675672bd889bba3c32f52..c58c501bc3b893d3553a17f3ff6affcf4b75acb2 100644 (file)
@@ -3726,7 +3726,7 @@ int unit_kill_context(
                          * there we get proper events. Hence rely on
                          * them.*/
 
-                        if  (cg_unified() > 0 ||
+                        if  (cg_unified(SYSTEMD_CGROUP_CONTROLLER) > 0 ||
                              (detect_container() == 0 && !unit_cgroup_delegate(u)))
                                 wait_for_exit = true;