Reworking cache logic to not loose .encrypted flag on partitions after flushing cache.
This commit is contained in:
parent
0c86440e2e
commit
1b903550b5
|
|
@ -322,7 +322,8 @@ class Partition():
|
|||
else:
|
||||
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")
|
||||
|
||||
self.encrypted = False if self.filesystem != 'crypto_LUKS' else True
|
||||
if get_filesystem_type(path) == 'crypto_LUKS':
|
||||
self.encrypted = True
|
||||
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue