mount_fusefs(8): fix inverted condition check from r347544

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Alan Somers 2019-05-15 00:15:40 +00:00
parent 96658124d7
commit 341346b039
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=347602

View file

@ -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);