Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk')
-rw-r--r--archinstall/lib/disk/helpers.py6
1 files changed, 1 insertions, 5 deletions
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: