diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-02 11:21:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-02 11:21:24 +0200 |
commit | a8c0f367142dcaa08e1d1aa8398207d4f762cef8 (patch) | |
tree | ab178c51603af8d647254a078ddf56e6a05616d6 /src/cgls/cgls.c | |
parent | d18ec0491ed7c502080c03fa5fe93c8b6ac3d6ea (diff) | |
parent | efdb02375beb0a940c3320865572913780b4d7de (diff) |
Merge pull request #1116 from poettering/unified-rebased
core: unified cgroup hierarchy support
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r-- | src/cgls/cgls.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index a8d910d532..4fb642e7b3 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -225,7 +225,10 @@ int main(int argc, char *argv[]) { } else path = root; - printf("Controller %s; control group %s:\n", controller, path); + if (cg_unified() > 0) + printf("Control group %s:\n", path); + else + printf("Controller %s; control group %s:\n", controller, path); fflush(stdout); q = show_cgroup(controller, path, NULL, 0, arg_kernel_threads, output_flags); |