mount_fusefs(8): fix inverted condition check from r347544
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
96658124d7
commit
341346b039
@ -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
|
/* Prepare the options vector for nmount(). build_iovec() is declared
|
||||||
* in mntopts.h. */
|
* in mntopts.h. */
|
||||||
sprintf(fdstr, "%d", fd);
|
sprintf(fdstr, "%d", fd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user