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
|
local p
|
||||||
pids=
|
pids=
|
||||||
while read p; do
|
while read p; do
|
||||||
[ $p -eq $$ ] || $pids="${pids} ${p}"
|
[ $p -eq $$ ] || pids="${pids} ${p}"
|
||||||
done < /sys/fs/cgroup/openrc/${RC_SVCNAME}/tasks
|
done < /sys/fs/cgroup/openrc/${RC_SVCNAME}/tasks
|
||||||
[ -n "$pids" ]
|
[ -n "$pids" ]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user