From b5cb1f5020c1e4969b6c870f665a87606c494997 Mon Sep 17 00:00:00 2001 From: Alexander V Vershilov Date: Sat, 25 May 2013 17:37:56 +0400 Subject: [PATCH] rc_cgroup.sh: fix typo This fixes an incorrect variable assignment in cgroup_get_pids --- sh/rc-cgroup.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ] }