sh/rc-cgroup.sh: fix cgroup_cleanup
X-Gentoo-Bug: 804193 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=804193
This commit is contained in:
parent
1d282ddc80
commit
9c7bedca9e
@ -219,7 +219,7 @@ cgroup_cleanup()
|
|||||||
kill -s HUP ${cgroup_pids} 2> /dev/null
|
kill -s HUP ${cgroup_pids} 2> /dev/null
|
||||||
kill -s "${stopsig:-TERM}" ${cgroup_pids} 2> /dev/null
|
kill -s "${stopsig:-TERM}" ${cgroup_pids} 2> /dev/null
|
||||||
cgroup_get_pids
|
cgroup_get_pids
|
||||||
while [ -n "$(cgroup_pids)" ] &&
|
while [ -n "${cgroup_pids}" ] &&
|
||||||
[ "${loops}" -lt "${rc_timeout_stopsec:-90}" ]; do
|
[ "${loops}" -lt "${rc_timeout_stopsec:-90}" ]; do
|
||||||
loops=$((loops+1))
|
loops=$((loops+1))
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user