diff options
Diffstat (limited to 'src/cgls')
-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); |