summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-08 14:06:46 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-08 14:07:27 +0100
commit7af5a806d12beec2f4e69ef0e69eb02b315916d7 (patch)
tree4cd266fe554cd9a823008cf679fd2213be33734a /src/systemctl/systemctl.c
parent9d458c0902cdc5d993fd2f78d36fb83a8130c81b (diff)
systemctl: allow listing cgroups of containers
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 44dc47344d..36a305639e 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -2525,7 +2525,7 @@ static void print_status_info(
printf(" CGroup: %s\n", i->control_group);
- if (arg_transport == BUS_TRANSPORT_LOCAL) {
+ if (arg_transport == BUS_TRANSPORT_LOCAL || arg_transport == BUS_TRANSPORT_CONTAINER) {
unsigned k = 0;
pid_t extra[2];
char prefix[] = " ";