summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index 8492d7dc5..ce0fd8799 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1034,6 +1034,9 @@ class AutoFileSystem(PsudoFileSystem):
PsudoFileSystem.__init__(self, "auto")
def mount(self, device, mountpoint, readOnly=0, bindMount=0):
+ errNum = 0
+ errMsg = "cannot mount auto filesystem on %s of this type" % device
+
if not self.isMountable():
return
iutil.mkdirChain(mountpoint)