Date: Wed, 15 May 2019 00:15:41 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r347602 - projects/fuse2/sbin/mount_fusefs Message-ID: <201905150015.x4F0FfDi091440@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905150015.x4F0FfDi091440>