Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/luks.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-14 13:56:24 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-14 13:56:24 +0100
commitc897421e1d5450450e0ef54118ad40c1d883b7c3 (patch)
treeedf53fc80e7b8b7ede223a22c2649c45c7b86629 /archinstall/lib/luks.py
parent7ac68b2436b3a542d8004b26defb89ebb2905fa9 (diff)
Using 'umount -R' rather than just 'umount' since we're going to wipe the partition, we need do unmount anything that's mounted beneeth it to continue.
Diffstat (limited to 'archinstall/lib/luks.py')
-rw-r--r--archinstall/lib/luks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py
index ff5e2057..30c38ec8 100644
--- a/archinstall/lib/luks.py
+++ b/archinstall/lib/luks.py
@@ -83,7 +83,7 @@ class luks2():
# Unmount the child location
if child_mountpoint := child.get('mountpoint', None):
log(f'Unmounting {child_mountpoint}', level=LOG_LEVELS.Debug)
- sys_command(f"umount {child_mountpoint}")
+ sys_command(f"umount -R {child_mountpoint}")
# And close it if possible.
log(f"Closing crypt device {child['name']}", level=LOG_LEVELS.Debug)