diff --git a/devlib/module/cgroups.py b/devlib/module/cgroups.py index 6cbab19..b3cdb1d 100644 --- a/devlib/module/cgroups.py +++ b/devlib/module/cgroups.py @@ -411,7 +411,7 @@ class CgroupsModule(Module): for line in self.target.execute('{} cat /proc/cgroups'\ .format(self.target.busybox), as_root=self.target.is_rooted).splitlines()[1:]: line = line.strip() - if not line or line.startswith('#'): + if not line or line.startswith('#') or line.endswith('0'): continue name, hierarchy, num_cgroups, enabled = line.split() subsystems.append(CgroupSubsystemEntry(name,