Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index f0651685..18006311 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -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