diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-01 15:43:09 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-01 15:43:09 -0600 |
commit | cee3919908c2d715fd75a796873e3308209a4c2e (patch) | |
tree | 4abd9c9a1156376cd9369137e2ecd74d98d42eb5 /sh/openrc-run.sh.in | |
parent | 0feadd2922484ec181c2ab86a5f7f8d6d37c5c77 (diff) |
Clean up the calls to group_add_service
This function should only be called once and it does not take any
arguments.
X-Gentoo-Bug: 639166
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=639166
Diffstat (limited to 'sh/openrc-run.sh.in')
-rw-r--r-- | sh/openrc-run.sh.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in index 05cb972b..95d0ecab 100644 --- a/sh/openrc-run.sh.in +++ b/sh/openrc-run.sh.in @@ -264,8 +264,7 @@ for _cmd; do eerror "No permission to apply cgroup settings" break fi - cgroup_add_service /sys/fs/cgroup/openrc - cgroup_add_service /sys/fs/cgroup/systemd/system + cgroup_add_service fi [ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && cgroup_set_limits |