cgroup: don't allow hidden cgroups

We really should care for all cgroups, and not allow hidden ones.
This commit is contained in:
Lennart Poettering 2015-09-01 17:54:17 +02:00
parent 9b84c7f959
commit f01327adb7
1 changed files with 1 additions and 1 deletions

View File

@ -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)