Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: sh/
Date: Sun, 26 May 2013 01:15:57
Message-Id: 1369529888.b5cb1f5020c1e4969b6c870f665a87606c494997.WilliamH@OpenRC
1 commit: b5cb1f5020c1e4969b6c870f665a87606c494997
2 Author: Alexander V Vershilov <qnikst <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 25 13:37:56 2013 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun May 26 00:58:08 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=b5cb1f50
7
8 rc_cgroup.sh: fix typo
9
10 This fixes an incorrect variable assignment in cgroup_get_pids
11
12 ---
13 sh/rc-cgroup.sh.in | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16 diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh.in
17 index c057fc8..81fc7d8 100644
18 --- a/sh/rc-cgroup.sh.in
19 +++ b/sh/rc-cgroup.sh.in
20 @@ -21,7 +21,7 @@ cgroup_get_pids()
21 local p
22 pids=
23 while read p; do
24 - [ $p -eq $$ ] || $pids="${pids} ${p}"
25 + [ $p -eq $$ ] || pids="${pids} ${p}"
26 done < /sys/fs/cgroup/openrc/${RC_SVCNAME}/tasks
27 [ -n "$pids" ]
28 }