mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-23 18:03:51 +08:00
rc_cgroup.sh: fix typo
This fixes an incorrect variable assignment in cgroup_get_pids
This commit is contained in:
parent
829c969f9b
commit
b5cb1f5020
@ -21,7 +21,7 @@ cgroup_get_pids()
|
||||
local p
|
||||
pids=
|
||||
while read p; do
|
||||
[ $p -eq $$ ] || $pids="${pids} ${p}"
|
||||
[ $p -eq $$ ] || pids="${pids} ${p}"
|
||||
done < /sys/fs/cgroup/openrc/${RC_SVCNAME}/tasks
|
||||
[ -n "$pids" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user