diff options
-rwxr-xr-x | isys/isys.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py index 7214ec189..db8c3e2f0 100755 --- a/isys/isys.py +++ b/isys/isys.py @@ -358,7 +358,10 @@ def umount(what, removeDir = 1): rc = _isys.umount(what) if removeDir and os.path.isdir(what): - os.rmdir(what) + try: + os.rmdir(what) + except: + pass if not rc and mountCount.has_key(what): del mountCount[what] |