From c897421e1d5450450e0ef54118ad40c1d883b7c3 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 14 Mar 2021 13:56:24 +0100 Subject: 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. --- archinstall/lib/luks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') 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) -- cgit v1.2.3-70-g09d2