summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-01 17:54:17 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-01 18:37:01 +0200
commitf01327adb7e953ef7d2d0e2add92d6a1d484e2fc (patch)
tree5951b38ac036bd8a1f610566fe7b4b44cce127db /src/basic/cgroup-util.c
parent9b84c7f959dca7b14dde522a443a3fcf2f5c5c2d (diff)
cgroup: don't allow hidden cgroups
We really should care for all cgroups, and not allow hidden ones.
Diffstat (limited to 'src/basic/cgroup-util.c')
-rw-r--r--src/basic/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 2a6dc2769b..1eed26d7bd 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -113,7 +113,7 @@ int cg_read_subgroup(DIR *d, char **fn) {
assert(d);
assert(fn);
- FOREACH_DIRENT(de, d, return -errno) {
+ FOREACH_DIRENT_ALL(de, d, return -errno) {
char *b;
if (de->d_type != DT_DIR)