aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/rc-cgroup.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh.in
index c057fc8a..81fc7d86 100644
--- a/sh/rc-cgroup.sh.in
+++ b/sh/rc-cgroup.sh.in
@@ -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" ]
}