aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-05-15 00:15:40 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-05-15 00:15:40 +0000
commit341346b039827d4897a95a421597f6c8c0f79691 (patch)
tree1134bcadb47dd840dcad74d8335d8942d4015ed7 /sbin
parent96658124d7a806ad833be3de9ffd1fb121811145 (diff)
downloadsrc-341346b039827d4897a95a421597f6c8c0f79691.tar.gz
src-341346b039827d4897a95a421597f6c8c0f79691.zip
mount_fusefs(8): fix inverted condition check from r347544
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/fuse2/; revision=347602
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_fusefs/mount_fusefs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sbin/mount_fusefs/mount_fusefs.c b/sbin/mount_fusefs/mount_fusefs.c
index 51db4502a61c..e6131ec8b063 100644
--- a/sbin/mount_fusefs/mount_fusefs.c
+++ b/sbin/mount_fusefs/mount_fusefs.c
@@ -406,12 +406,6 @@ main(int argc, char *argv[])
}
}
- if (fd >= 0 && close(fd) < 0) {
- if (pid)
- kill(pid, SIGKILL);
- err(1, "failed to close fuse device");
- }
-
/* Prepare the options vector for nmount(). build_iovec() is declared
* in mntopts.h. */
sprintf(fdstr, "%d", fd);