Commit 19fd7e38 authored by Samuel Mutel's avatar Samuel Mutel Committed by Brad Davidson

enh: Force umount for NFS mount (like with longhorn)

parent b47cbbfd
...@@ -770,7 +770,7 @@ do_unmount_and_remove() { ...@@ -770,7 +770,7 @@ do_unmount_and_remove() {
set +x set +x
while read -r _ path _; do while read -r _ path _; do
case "$path" in $1*) echo "$path" ;; esac case "$path" in $1*) echo "$path" ;; esac
done < /proc/self/mounts | sort -r | xargs -r -t -n 1 sh -c 'umount "$0" && rm -rf "$0"' done < /proc/self/mounts | sort -r | xargs -r -t -n 1 sh -c 'umount -f "$0" && rm -rf "$0"'
set -x set -x
} }
......
8c71108b5602b40ab6a9e60fe66403302b458046cb8afd1980d3c183d25278ac install.sh 882d7386b690cc375ed20f48a257907aa9a2d5269d0a099518bbdde35fb0d8c4 install.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment