mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-23 18:03:51 +08:00
cgroups: change '$$' to 0 for consistency
This commit is contained in:
parent
88cdcc145e
commit
a7a6092f01
@ -77,7 +77,7 @@ cgroup_add_service()
|
||||
# cgroups. But may lead to a problems where that inheriting
|
||||
# is needed.
|
||||
for d in /sys/fs/cgroup/* ; do
|
||||
echo $$ > "${d}"/tasks
|
||||
echo 0 > "${d}"/tasks
|
||||
done
|
||||
|
||||
openrc_cgroup=/sys/fs/cgroup/openrc
|
||||
|
Loading…
Reference in New Issue
Block a user