summaryrefslogtreecommitdiffstats
path: root/src/cgls/cgls.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-10 00:37:19 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-10 17:31:31 +0100
commitb1f044bbc45cc05049eed9c483a2d6bef73c0adc (patch)
treece321025b5cc6330c7887be3a24e2dd815c81c18 /src/cgls/cgls.c
parentcgls: suppress output of controller name, if it's the systemd one (diff)
downloadsystemd-b1f044bbc45cc05049eed9c483a2d6bef73c0adc.tar.xz
systemd-b1f044bbc45cc05049eed9c483a2d6bef73c0adc.zip
cgls: when showing root slice, put -.slice at top of tree
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r--src/cgls/cgls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index a5a580438a..22efc58ac9 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -272,6 +272,7 @@ int main(int argc, char *argv[]) {
show_cg_info(SYSTEMD_CGROUP_CONTROLLER, root);
+ printf("-.slice\n");
r = show_cgroup(SYSTEMD_CGROUP_CONTROLLER, root, NULL, 0, arg_kernel_threads, output_flags);
}
}