summaryrefslogtreecommitdiff
path: root/src/cgls
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
parenta6a4d3c46bd41e2f33e8eb61ac53b3c79049f167 (diff)
cgls: when showing root slice, put -.slice at top of tree
Diffstat (limited to 'src/cgls')
-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);
}
}