projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Ensure it's a valid cgroup mount point.
[util-vserver.git]
/
scripts
/
vserver.functions
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
5381d82
..
2098b45
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-1481,7
+1481,7
@@
function _generateCgroupOptions
function useCgroup
{
hasCgroup || return 1
- test -d "$CGROUP_MNT" || return 1
+ test -e "$CGROUP_MNT/tasks" || return 1
memcg=""
if $_VSERVER_INFO - FEATURE memcg; then
memcg=1