chiark / gitweb /
Prep v226: loginctl.c: Fix call to (changed) cg_is_empty_recursive().
authorSven Eden <yamakuzure@gmx.net>
Mon, 9 Jan 2017 05:18:16 +0000 (06:18 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:22:32 +0000 (10:22 +0100)
src/login/loginctl.c

index cf4ca46..6c12556 100644 (file)
@@ -266,7 +266,7 @@ static int show_unit_cgroup(sd_bus *bus, const char *interface, const char *unit
         if (isempty(cgroup))
                 return 0;
 
-        if (cg_is_empty_recursive(ELOGIND_CGROUP_CONTROLLER, cgroup, false) != 0 && leader <= 0)
+        if (cg_is_empty_recursive(ELOGIND_CGROUP_CONTROLLER, cgroup) != 0 && leader <= 0)
                 return 0;
 
         c = columns();