X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lxcsu;h=164344f70abfb55f948134a9213c3e3dfbdf315c;hb=13a56a4ff176386a815904f98f67aa5b75ed6b87;hp=2f1c0af920cf87e4c3678d3414fa48631dbbab73;hpb=68a4f67e919c4580ead80729b183506997627fbd;p=lxc-userspace.git diff --git a/lxcsu b/lxcsu index 2f1c0af..164344f 100755 --- 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