Use lazy unmount, prevent errors about the target being busy
This commit is contained in:
parent
36a83b3d84
commit
9f1f9ee7da
@ -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"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user