Do not close stdout on fuse_session_destroy()
authorConsus <consus@gmx.com>
Thu, 20 Oct 2016 13:08:49 +0000 (16:08 +0300)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 20 Oct 2016 15:29:46 +0000 (08:29 -0700)
commit7c01d75a89051997ee620f2c2eeaf77b00824a5d
tree366c79a352600df9f7e106f9d4e4ec6b61b22eb1
parent04f1039df23ddc1883ea976bdd62b82ea70dbfbe
Do not close stdout on fuse_session_destroy()

If fuse_session_mount() fails (or was never called in the first place)
we end up with the default fd value which happens to be 0. It hurts
long-running processes, which lifetime extends beyond session's
lifetime.
lib/fuse_lowlevel.c