mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
mount_fusefs(8): fix inverted condition check from r347544
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
96658124d7
commit
341346b039
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=347602
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue