Debugging some tweaks

This commit is contained in:
Anton Hvornum 2021-03-09 11:36:59 +01:00
parent c56d4d958e
commit 6680f74462
1 changed files with 1 additions and 1 deletions

View File

@ -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)}")