Fixed MapperDev().unmount()

This commit is contained in:
Anton Hvornum 2022-02-12 18:33:03 +01:00
parent 852bc32077
commit c6a62337cf
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class MapperDev:
return True
def unmount(self, target :str, fs :Optional[str] = None, options :str = '') -> bool:
def unmount(self) -> bool:
try:
SysCommand(f"/usr/bin/umount {self.path}")
except SysCallError as error: