git://git.onelab.eu
/
lxc-userspace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Setting tag lxc-userspace-1.0-1
[lxc-userspace.git]
/
lxcsu
diff --git
a/lxcsu
b/lxcsu
index
2f1c0af
..
164344f
100755
(executable)
--- a/
lxcsu
+++ b/
lxcsu
@@
-141,7
+141,7
@@
def main ():
if (not options.pidns):
setns.chcontext('/proc/%s/ns/pid'%pid)
- if (
!os.access('/proc/self'
):
+ if (
not os.access('/proc/self',0)
):
setns.proc_mount()
# cgroups is not yet LXC-safe, so we need to use the course grained access control