aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/cgroups.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/cgroups.in b/init.d/cgroups.in
index faf53d8a..218cce7d 100644
--- a/init.d/cgroups.in
+++ b/init.d/cgroups.in
@@ -87,7 +87,7 @@ cgroup2_controllers()
[ ! -e "${cgroup_path}/cgroup.subtree_control" ]&& return 0
read -r active < "${cgroup_path}/cgroup.controllers"
for x in ${active}; do
- case "$rc_cgroup_mode" in
+ case "${rc_cgroup_mode:-unified}" in
unified)
echo "+${x}" > "${cgroup_path}/cgroup.subtree_control"
;;