mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 20:35:36 -04:00
[umount] use lazy switch
in some rare cases you can't unmount your mountpoints. As it is the last step we can use lazy switch to force unmounting.
This commit is contained in:
parent
0a6053dd82
commit
eee54241d1
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ def run():
|
|||
lst.sort(key=lambda x: x[1], reverse=True)
|
||||
|
||||
for device, mount_point in lst:
|
||||
subprocess.check_call(["umount", mount_point])
|
||||
subprocess.check_call(["umount", "-lv", mount_point])
|
||||
|
||||
os.rmdir(root_mount_point)
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue