chiark / gitweb /
systemctl: allow listing cgroups of containers
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Nov 2013 13:06:46 +0000 (14:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Nov 2013 13:07:27 +0000 (14:07 +0100)
src/systemctl/systemctl.c

index 44dc473..36a3056 100644 (file)
@@ -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[] = "           ";