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