index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2023-09-26 18:57:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 10:57:50 +0200 |
commit | bc8d4ea2346b09adc641ae51648ac67df939d27a (patch) | |
tree | f09f9d5e19997d60c00dfdfd5210be217d30e0bc /archinstall/lib | |
parent | 717a22371fd25aac10d1f435b65842e800fd9d7e (diff) |
-rw-r--r-- | archinstall/lib/disk/device_handler.py | 5 |
diff --git a/archinstall/lib/disk/device_handler.py b/archinstall/lib/disk/device_handler.py index 4cb35c03..8af33fde 100644 --- a/archinstall/lib/disk/device_handler.py +++ b/archinstall/lib/disk/device_handler.py @@ -49,12 +49,11 @@ class DeviceHandler(object): try: loop_devices = SysCommand(['losetup', '-a']) - except SysCallError as err: - debug(f'Failed to get loop devices: {err}') - else: for ld_info in str(loop_devices).splitlines(): loop_device = getDevice(ld_info.split(':', maxsplit=1)[0]) devices.append(loop_device) + except Exception as err: + debug(f'Failed to get loop devices: {err}') for device in devices: if get_lsblk_info(device.path).type == 'rom': |