diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/rc-cgroup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-cgroup.sh b/sh/rc-cgroup.sh index 5d24344d..77d56dd1 100644 --- a/sh/rc-cgroup.sh +++ b/sh/rc-cgroup.sh @@ -181,7 +181,7 @@ cgroup2_set_limits() { local cgroup_path cgroup_path="$(cgroup2_find_path)" - [ -d "${cgroup_path}" ] || return 0 + mountinfo -q "${cgroup_path}"|| return 0 rc_cgroup_path="${cgroup_path}/${RC_SVCNAME}" [ ! -d "${rc_cgroup_path}" ] && mkdir "${rc_cgroup_path}" [ -f "${rc_cgroup_path}"/cgroup.procs ] && |