Skip to content

Commit

Permalink
[Storage] Add lazy unmount flag (skypilot-org#1320)
Browse files Browse the repository at this point in the history
Add lazy unmount flag
  • Loading branch information
romilbhardwaj authored and Sumanth committed Jan 15, 2023
1 parent 062d6e6 commit 7505b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/data/mounting_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_mounting_command(
# Check if path is already mounted
if grep -q $MOUNT_PATH /proc/mounts ; then
echo "Path already mounted - unmounting..."
fusermount -u "$MOUNT_PATH"
fusermount -uz "$MOUNT_PATH"
echo "Successfully unmounted $MOUNT_PATH."
fi
Expand Down

0 comments on commit 7505b52

Please sign in to comment.