aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-01 15:43:09 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-01 15:43:09 -0600
commitcee3919908c2d715fd75a796873e3308209a4c2e (patch)
tree4abd9c9a1156376cd9369137e2ecd74d98d42eb5 /sh
parent0feadd2922484ec181c2ab86a5f7f8d6d37c5c77 (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')
-rw-r--r--sh/openrc-run.sh.in3
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