Removed '-R' flag from umount command
This commit is contained in:
2
zfs.sh
2
zfs.sh
@@ -222,7 +222,7 @@ if [[ "${1}" == '--key' ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${1}" == '--unmount' ]]; then
|
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
|
if [[ "${ID}" == 'fedora' ]]; then
|
||||||
umount \
|
umount \
|
||||||
|
|||||||
Reference in New Issue
Block a user