index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2023-03-26 15:40:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 21:40:08 +0200 |
commit | f6113107d6c7df763301de0816dcd1ae1d4ace4d (patch) | |
tree | b997bb160ac9440124a0f65f9a980eb6607ff026 /archinstall/lib/disk/helpers.py | |
parent | 79eb6bba627c4c70f24a265ac0b2ef9cbfbbd211 (diff) |
-rw-r--r-- | archinstall/lib/disk/helpers.py | 2 |
diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index aea794f5..80d0cb53 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -233,7 +233,7 @@ def get_blockdevice_info(device_path, exclude_iso_dev :bool = True) -> Dict[str, information = blkid(f'blkid -p -o export {device_path}') return enrich_blockdevice_information(information) except SysCallError as ex: - if ex.exit_code in (512, 2): + if ex.exit_code == 2: # Assume that it's a loop device, and try to get info on it try: resolved_device_name = device_path.readlink().name |