Removed '-R' flag from umount command

This commit is contained in:
2026-01-02 10:16:04 -05:00
parent 00324dfb5d
commit e8c745a307

2
zfs.sh
View File

@@ -222,7 +222,7 @@ if [[ "${1}" == '--key' ]]; then
fi
if [[ "${1}" == '--unmount' ]]; then
mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -I {} umount -Rlf {}
mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -I {} umount -lf {}
if [[ "${ID}" == 'fedora' ]]; then
umount \