From 341346b039827d4897a95a421597f6c8c0f79691 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Wed, 15 May 2019 00:15:40 +0000 Subject: [PATCH] mount_fusefs(8): fix inverted condition check from r347544 Sponsored by: The FreeBSD Foundation --- sbin/mount_fusefs/mount_fusefs.c | 6 ------ 1 file changed, 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);