diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/cgroups.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/cgroups.in b/init.d/cgroups.in index 01f5dd48..3d5bfa7b 100644 --- a/init.d/cgroups.in +++ b/init.d/cgroups.in @@ -57,7 +57,7 @@ cgroup1_controllers() mkdir "/sys/fs/cgroup/${name}" mount -n -t cgroup -o "${cgroup_opts},${name}" \ "${name}" "/sys/fs/cgroup/${name}" - yesno "${rc_cgroup_memory_use_hierarchy:-no}" && + yesno "${rc_cgroup_memory_use_hierarchy:-no}" && [ "${name}" = memory ] && echo 1 > /sys/fs/cgroup/memory/memory.use_hierarchy ;; |