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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index d0d7d4ea..15071c00 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -168,8 +168,8 @@ class Partition():
if not self.filesystem and autodetect_filesystem:
print(f'Auto-detecting filesystem for: {path}')
print('Mount information:', mount_information.get('fstype', None))
- print('Real device:', get_filesystem_type(self.real_device))
- if (fstype := mount_information.get('fstype', get_filesystem_type(self.real_device))):
+ print('Real device:', get_filesystem_type(path))
+ if (fstype := mount_information.get('fstype', get_filesystem_type(path))):
self.filesystem = fstype
if self.filesystem == 'crypto_LUKS':