index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 15:26:07 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 15:26:07 +0000 |
commit | 6f8b064ec521e277e1028caafb8d4dc522987267 (patch) | |
tree | c8d46d46bf78e3d09198808a06a77dac1d002b99 /archinstall/lib/disk | |
parent | 91887bf0b3efcf4f94070d14be1f97c5842a0e6b (diff) |
-rw-r--r-- | archinstall/lib/disk/helpers.py | 6 |
diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index 8210895f..e15e69b2 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -132,11 +132,7 @@ def get_mount_info(path :Union[pathlib.Path, str], traverse=False, return_real_p break if not output: - log(f"Could not get mount information for device path {path}: {output}", fg="yellow", level=logging.WARNING) - if return_real_path: - return {}, None - else: - return {} + raise DiskError(f"Could not get mount information for device path {path}") output = json.loads(output) if 'filesystems' in output: |