cgroup_cleanup: try to remove the cgroup version 2 cgroup
If we were able to kill all the processes in the cgroup, it should be removed.
This commit is contained in:
parent
4651b8c7e9
commit
25b45a5a23
@ -212,6 +212,7 @@ cgroup_cleanup()
|
||||
yesno "${rc_send_sigkill:-yes}" &&
|
||||
kill -s KILL ${pids} 2> /dev/null
|
||||
fi
|
||||
cgroup2_remove
|
||||
[ -z "$(cgroup_get_pids)" ]
|
||||
eend $? "Unable to stop all processes"
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user