Added some debugging.

This commit is contained in:
Anton Hvornum 2021-03-29 18:12:05 +02:00
parent a50aa59060
commit 151c90a56d
1 changed files with 2 additions and 0 deletions

View File

@ -322,6 +322,8 @@ class Partition():
else:
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")
print('Checking if encrypted:', path)
print('Also checking:', self.real_device)
if get_filesystem_type(path) == 'crypto_LUKS' or get_filesystem_type(self.real_device) == 'crypto_LUKS':
self.encrypted = True
else: