lazy umount
This commit is contained in:
2
start.py
2
start.py
@@ -502,7 +502,7 @@ def cleanup_standalone_mounts():
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Create umount commands (with || true to ignore errors)
|
# Create umount commands (with || true to ignore errors)
|
||||||
umount_commands = [f"umount {mount_point} || true" for mount_point in mount_points]
|
umount_commands = [f"umount -l {mount_point} || true" for mount_point in mount_points]
|
||||||
|
|
||||||
# Run all umount commands in one batch
|
# Run all umount commands in one batch
|
||||||
run_privileged_commands(umount_commands, "cleanup mounts")
|
run_privileged_commands(umount_commands, "cleanup mounts")
|
||||||
|
|||||||
Reference in New Issue
Block a user