rc_cgroup.sh: fix typo

This fixes an incorrect variable assignment in cgroup_get_pids
This commit is contained in:
Alexander V Vershilov 2013-05-25 17:37:56 +04:00 committed by William Hubbs
parent 829c969f9b
commit b5cb1f5020

View File

@ -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" ]
}