Debugging some tweaks
This commit is contained in:
parent
c56d4d958e
commit
6680f74462
|
|
@ -146,7 +146,7 @@ class Partition():
|
|||
self.mount(mountpoint)
|
||||
|
||||
mount_information = get_mount_info(self.path)
|
||||
fstype = get_filesystem_type(self.real_devicecryptse) # blkid -o value -s TYPE self.path
|
||||
fstype = get_filesystem_type(self.real_device) # blkid -o value -s TYPE self.path
|
||||
|
||||
if self.mountpoint != mount_information.get('target', None) and mountpoint:
|
||||
raise DiskError(f"{self} was given a mountpoint but the actual mountpoint differs: {mount_information.get('target', None)}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue