Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-19 01:05:04 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-19 01:05:04 +0000
commit86847d6dc17d83549be19b0cf54bda4711ceccec (patch)
tree38a0ca4167da40859757fdfb98220c6892080ea6 /archinstall.py
parent8a5266d08751a0e1269ad0d812111bc3678c8959 (diff)
Added extra error handling in case filesystem wasn't mounted porperly
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 59e5cc81..4f2dc19a 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -612,6 +612,7 @@ def human_disk_info(drive):
}
def close_disks():
+ o = simple_command('/usr/bin/umount -R /mnt/boot')
o = simple_command('/usr/bin/umount -R /mnt')
o = simple_command('/usr/bin/cryptsetup close /dev/mapper/luksdev')