In daemon mode, arv-mount should set up the fuse connection before
[arvados.git] / services / fuse / bin / arv-mount
index f6b2992782ef51b9efd737bd23a4dbe98c5e86c6..904fbf1b8d8958804575a0495b35616acc6f79e0 100755 (executable)
@@ -82,7 +82,7 @@ collections on the server.""")
             llfuse.init(operations, args.mountpoint, opts)
             llfuse.main()
         else:
+            # Initialize the fuse connection
+            llfuse.init(operations, args.mountpoint, opts)
             with daemon.DaemonContext():
-                # Initialize the fuse connection
-                llfuse.init(operations, args.mountpoint, opts)
                 llfuse.main()