index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk.py | 5 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 75cecb0b..db58f3ce 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -487,5 +487,6 @@ def get_mount_info(path): return output['filesystems'][0] def get_filesystem_type(path): - output = b''.join(sys_command(f"blkid -o value -s TYPE {path}")) - return output.strip().decode('UTF-8')
\ No newline at end of file + if (handle := sys_command(f"blkid -o value -s TYPE {path}")).exit_code != 0: + return None + return b''.join(handle).strip().decode('UTF-8')
\ No newline at end of file |