index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 15:31:51 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 15:31:51 +0000 |
commit | 6d2126a597c1fc9b3bc9ffc1d587a8fabbb51882 (patch) | |
tree | 2aa4a1322056e5cadba635910b21a982ebb20042 /archinstall | |
parent | 6f8b064ec521e277e1028caafb8d4dc522987267 (diff) |
-rw-r--r-- | archinstall/lib/disk/partition.py | 5 |
diff --git a/archinstall/lib/disk/partition.py b/archinstall/lib/disk/partition.py index b5c252a4..3630a6f4 100644 --- a/archinstall/lib/disk/partition.py +++ b/archinstall/lib/disk/partition.py @@ -32,7 +32,10 @@ class Partition: if mountpoint: self.mount(mountpoint) - mount_information = get_mount_info(self.path) + try: + mount_information = get_mount_info(self.path) + except DiskError: + mount_information = {} if self.mountpoint != mount_information.get('target', None) and mountpoint: raise DiskError(f"{self} was given a mountpoint but the actual mountpoint differs: {mount_information.get('target', None)}") |