Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 23:18:04 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 23:18:04 +0200
commit0531e3a0d6368ee2ae606d2f390ffffaf53e4f2e (patch)
treecae0fb09a75e83f6c1aec920953ba63a226fdfaa /archinstall/lib
parente49b73cef41b39e0046a8dc10fddfc4337255a5b (diff)
Attempting to correct some inconsitencies in disk-parent reporting.
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':