summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-16 17:35:58 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-16 18:59:08 +0200
commitc3175a7f40a2d2fabc3a2de63033a6810d45221a (patch)
tree60f589e8b66241145a03b7c65890cec649510f5d /src/login
parentc7b5eb98e8eeafe63a079ee3c51e9670872437ae (diff)
cgls: don't show empty cgroups by default
Diffstat (limited to 'src/login')
-rw-r--r--src/login/loginctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index c4604909cd..f1cb16e713 100644
--- a/src/login/loginctl.c
+++ b/src/login/loginctl.c
@@ -473,7 +473,7 @@ static void print_session_status_info(SessionStatusInfo *i) {
else
c = 0;
- show_cgroup_by_path(i->control_group, "\t\t ", c, false);
+ show_cgroup_by_path(i->control_group, "\t\t ", c, false, arg_all);
}
}
}
@@ -525,7 +525,7 @@ static void print_user_status_info(UserStatusInfo *i) {
else
c = 0;
- show_cgroup_by_path(i->control_group, "\t\t ", c, false);
+ show_cgroup_by_path(i->control_group, "\t\t ", c, false, arg_all);
}
}
}