summaryrefslogtreecommitdiff
path: root/sysutils/avfs/files/patch-scripts_umountavfs
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2016-10-16 07:44:23 +0000
committerThomas Zander <riggs@FreeBSD.org>2016-10-16 07:44:23 +0000
commit51510ae831c195cb2aebec391da501e939d82b81 (patch)
treea3930f33be5312c8c94975ca621707ac9cb804d2 /sysutils/avfs/files/patch-scripts_umountavfs
parentsecurity/certificate-transparency: update 20160102 -> 20161015 (diff)
Update to upstream version 1.0.4; pet portlint
PR: 213275 Submitted by: mp39590@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=424046
Diffstat (limited to 'sysutils/avfs/files/patch-scripts_umountavfs')
-rw-r--r--sysutils/avfs/files/patch-scripts_umountavfs16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/avfs/files/patch-scripts_umountavfs b/sysutils/avfs/files/patch-scripts_umountavfs
new file mode 100644
index 000000000000..e93c9c659029
--- /dev/null
+++ b/sysutils/avfs/files/patch-scripts_umountavfs
@@ -0,0 +1,16 @@
+--- scripts/umountavfs.orig 2016-09-16 18:43:19 UTC
++++ scripts/umountavfs
+@@ -14,11 +14,11 @@ else
+ MntDir="${HOME}/.avfs"
+ fi
+
+-grep -qE "${MntDir}.*avfsd" /proc/mounts && {
++mount -p | grep -qE "${MntDir}.*fusefs" && {
+ echo unMounting AVFS on $MntDir...
+ if type -p fusermount > /dev/null 2>&1 ; then
+ fusermount -u -z "$MntDir"
+ else
+- umount -l "$MntDir"
++ umount "$MntDir"
+ fi
+ }