diff options
author | Alexander V Vershilov <qnikst@gentoo.org> | 2013-05-25 17:37:56 +0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-05-25 19:58:08 -0500 |
commit | b5cb1f5020c1e4969b6c870f665a87606c494997 (patch) | |
tree | 12f6729bd2d6dff439e51f5f2ceb8e3dedb483ab /sh | |
parent | 829c969f9bdada223e22aea501d60015e2c6d43a (diff) |
rc_cgroup.sh: fix typo
This fixes an incorrect variable assignment in cgroup_get_pids
Diffstat (limited to 'sh')
-rw-r--r-- | sh/rc-cgroup.sh.in | 2 |
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" ] } |