Merge pull request #5444 from poettering/cgroups-revert-no-error
Revert "core: simplify cg_[all_]unified()" and more.
This commit is contained in:
+1
-1
@@ -3897,7 +3897,7 @@ int unit_kill_context(
|
||||
* there we get proper events. Hence rely on
|
||||
* them. */
|
||||
|
||||
if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) ||
|
||||
if (cg_unified_controller(SYSTEMD_CGROUP_CONTROLLER) > 0 ||
|
||||
(detect_container() == 0 && !unit_cgroup_delegate(u)))
|
||||
wait_for_exit = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user