svn commit: r347602 - projects/fuse2/sbin/mount_fusefs
Alan Somers
asomers at FreeBSD.org
Wed May 15 00:15:42 UTC 2019
Author: asomers
Date: Wed May 15 00:15:40 2019
New Revision: 347602
URL: https://svnweb.freebsd.org/changeset/base/347602
Log:
mount_fusefs(8): fix inverted condition check from r347544
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/sbin/mount_fusefs/mount_fusefs.c
Modified: projects/fuse2/sbin/mount_fusefs/mount_fusefs.c
==============================================================================
--- projects/fuse2/sbin/mount_fusefs/mount_fusefs.c Tue May 14 23:50:46 2019 (r347601)
+++ projects/fuse2/sbin/mount_fusefs/mount_fusefs.c Wed May 15 00:15:40 2019 (r347602)
@@ -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);
More information about the svn-src-projects
mailing list