aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-08-12 14:21:58 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-08-12 14:21:58 -0500
commit9c7bedca9e0a51343058b9e44ed8e3b5b9d337be (patch)
tree3417d573dd2b20457df2939c1387a35b5e57061d
parent1d282ddc80b2dcd9adbff7d662822fcd7e0c10e5 (diff)
sh/rc-cgroup.sh: fix cgroup_cleanup
X-Gentoo-Bug: 804193 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=804193
-rw-r--r--sh/rc-cgroup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-cgroup.sh b/sh/rc-cgroup.sh
index 392c8b3d..a2207b0a 100644
--- a/sh/rc-cgroup.sh
+++ b/sh/rc-cgroup.sh
@@ -219,7 +219,7 @@ cgroup_cleanup()
kill -s HUP ${cgroup_pids} 2> /dev/null
kill -s "${stopsig:-TERM}" ${cgroup_pids} 2> /dev/null
cgroup_get_pids
- while [ -n "$(cgroup_pids)" ] &&
+ while [ -n "${cgroup_pids}" ] &&
[ "${loops}" -lt "${rc_timeout_stopsec:-90}" ]; do
loops=$((loops+1))
sleep 1