From a530722f653e13407ac0638cfcad8e938f602493 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 25 Sep 2013 20:05:41 -0500 Subject: 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 --- sh/runscript.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index a1ed9c6..f8fcbc5 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 -- cgit v1.2.3