summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/contrib/archivefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/contrib/archivefs.py b/fs/contrib/archivefs.py
index 4c7f2a6..cfc1cbd 100644
--- a/fs/contrib/archivefs.py
+++ b/fs/contrib/archivefs.py
@@ -186,7 +186,7 @@ class ArchiveMountFS(mountfs.MountFS):
@synchronize
def close(self):
# Close and delete references to any other fs instances.
- if self.rootsfs is not None:
+ if self.rootfs is not None:
self.rootfs.close()
self.rootfs = None
super(ArchiveMountFS, self).close()