summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linuxnamespaces/atlocation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxnamespaces/atlocation.py b/linuxnamespaces/atlocation.py
index 6b28ec3..0257014 100644
--- a/linuxnamespaces/atlocation.py
+++ b/linuxnamespaces/atlocation.py
@@ -432,7 +432,7 @@ class AtLocation:
return os.stat(self.fd)
follow_symlinks = True
if self.flags == AtFlags.AT_SYMLINK_NOFOLLOW:
- follow_symlinks = True
+ follow_symlinks = False
elif self.flags != AtFlags.NONE:
raise NotImplementedError(
"stat is not supported for an AtFlags with given flags"