From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5863C1381F3 for ; Sun, 26 May 2013 01:15:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03C7FE0BE2; Sun, 26 May 2013 01:15:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8938DE0BE2 for ; Sun, 26 May 2013 01:15:54 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F18F33E00F for ; Sun, 26 May 2013 01:15:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5745AE545B for ; Sun, 26 May 2013 01:15:50 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1369529888.b5cb1f5020c1e4969b6c870f665a87606c494997.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/rc-cgroup.sh.in X-VCS-Directories: sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: b5cb1f5020c1e4969b6c870f665a87606c494997 X-VCS-Branch: master Date: Sun, 26 May 2013 01:15:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f79090cc-160e-4031-bc75-2214fe5221a8 X-Archives-Hash: 59761e096d01ca4b616b979513de58fa commit: b5cb1f5020c1e4969b6c870f665a87606c494997 Author: Alexander V Vershilov gentoo org> AuthorDate: Sat May 25 13:37:56 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun May 26 00:58:08 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=b5cb1f50 rc_cgroup.sh: fix typo This fixes an incorrect variable assignment in cgroup_get_pids --- 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 c057fc8..81fc7d8 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" ] }