Skip to content

Commit 70df906

Browse files
Fix cgroupv2 check logic
1 parent 087b2b8 commit 70df906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

judge/create_cgroups.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ You can try using cgroup V1 by adding systemd.unified_cgroup_hierarchy=0 to the
3434
if ! echo "+cpuset" >> /sys/fs/cgroup/cgroup.subtree_control; then
3535
cgroup_error_and_usage "Error: Cannot add +cpuset to cgroup.subtree_control; check kernel params. Unable to continue."
3636
fi
37+
exit 0
3738
fi
3839

3940
# Trying cgroup V1:

0 commit comments

Comments
 (0)