diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2013-09-25 20:05:41 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-09-27 15:55:46 -0500 |
commit | 993e7d704404a8ff1a355bf4a38d1d92e7cc56cd (patch) | |
tree | 3cceed5dbbbd597c09e6533e0bd62d6c79bb0203 /sh/runscript.sh.in | |
parent | de88aff0a839844526ae262f8961ec4372fed238 (diff) |
fix cgroup_cleanup function
The yesno test for rc_cgroup_cleanup belongs at the point where this
function is called from runscript, not in the function itself.
X-Gentoo-Bug: 486210
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=486210
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r-- | sh/runscript.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index a1ed9c68..f8fcbc5c 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -308,6 +308,7 @@ while [ -n "$1" ]; do fi [ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" -a \ "$1" = "stop" ] && \ + yesno "${rc_cgroup_cleanup}" && \ cgroup_cleanup shift continue 2 |