runscript.sh: run cgroup_cleanup automatically after stop
This commit is contained in:
parent
b5cb1f5020
commit
e451d173fa
@ -302,7 +302,8 @@ while [ -n "$1" ]; do
|
|||||||
then
|
then
|
||||||
"$1"_post || exit $?
|
"$1"_post || exit $?
|
||||||
fi
|
fi
|
||||||
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" ] && \
|
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" -a \
|
||||||
|
"$1" = "stop" ] && \
|
||||||
cgroup_cleanup
|
cgroup_cleanup
|
||||||
shift
|
shift
|
||||||
continue 2
|
continue 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user