aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V Vershilov <qnikst@gentoo.org>2013-05-25 17:37:56 +0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-05-25 19:58:08 -0500
commitb5cb1f5020c1e4969b6c870f665a87606c494997 (patch)
tree12f6729bd2d6dff439e51f5f2ceb8e3dedb483ab
parent829c969f9bdada223e22aea501d60015e2c6d43a (diff)
rc_cgroup.sh: fix typo
This fixes an incorrect variable assignment in cgroup_get_pids
-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" ]
}