From 9f1f9ee7dab7fdd41ec6f11d957d32c37dafb236 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 12 Jul 2023 04:44:16 +0200 Subject: [PATCH] Use lazy unmount, prevent errors about the target being busy --- mods/live-installer/data/opt/wdvn/installer/main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/live-installer/data/opt/wdvn/installer/main b/mods/live-installer/data/opt/wdvn/installer/main index bb849af..01db082 100755 --- a/mods/live-installer/data/opt/wdvn/installer/main +++ b/mods/live-installer/data/opt/wdvn/installer/main @@ -415,7 +415,7 @@ def main(): print("> Unmounting ...") if hasSwap: call(["swapoff",ipth("swap")]) - call(["umount",ipth()]) + call(["umount","-l",ipth()]) os.rmdir(ipth()) if encrypt: call(["cryptsetup","luksClose","system"])