OSDN Git Service

Daemonize on mount.
authorrelan <relan@users.noreply.github.com>
Sun, 29 Nov 2009 09:40:20 +0000 (09:40 +0000)
committerrelan <relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:11 +0000 (08:26 +0300)
fuse/main.c

index 62b9d42..e393695 100644 (file)
@@ -306,6 +306,9 @@ int main(int argc, char* argv[])
                return 1;
        }
 
+       /* go to background unless "-d" option is passed */
+       fuse_daemonize(debug);
+
        /* FUSE main loop */
        fuse_loop(fh);