diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-24 18:00:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-24 18:00:04 +0100 |
commit | c22800e40e1709e4794308114543f6d6d419e4ae (patch) | |
tree | ba30e777016191d2e2bd48ea59f41345293e5c29 /src/core/unit.c | |
parent | b4cccbc13ad6f98bd8e816ce5fffb99f5be74c8c (diff) |
cgroup: rename cg_unified() → cg_unified_controller()
cg_unified() is a bit generic a name, let's make clear that it checks
whether a specified controller is in unified mode.
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index 91f49aa210..81a92b8841 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -3897,7 +3897,7 @@ int unit_kill_context( * there we get proper events. Hence rely on * them.*/ - if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) > 0 || + if (cg_unified_controller(SYSTEMD_CGROUP_CONTROLLER) > 0 || (detect_container() == 0 && !unit_cgroup_delegate(u))) wait_for_exit = true; |