mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-24 14:49:24 +00:00
lazy umount
This commit is contained in:
parent
430c18f7ec
commit
23e6d2a90c
2
start.py
2
start.py
@ -502,7 +502,7 @@ def cleanup_standalone_mounts():
|
||||
]
|
||||
|
||||
# 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_privileged_commands(umount_commands, "cleanup mounts")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user