[gvfs] fuse: Do not suppress gvfsd-fuse output



commit 85bacbf06e0614f03e93600fcdee654cd7fadc0e
Author: Ondrej Holy <oholy redhat com>
Date:   Tue May 24 12:58:17 2016 +0200

    fuse: Do not suppress gvfsd-fuse output
    
    Fuse daemon is spawned with G_SPAWN_STDOUT_TO_DEV_NULL and
    G_SPAWN_STDERR_TO_DEV_NULL, which suppress its output. Use
    G_SPAWN_LEAVE_DESCRIPTORS_OPEN instead to simplify debugging.

 daemon/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index 106119e..210031d 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -103,8 +103,7 @@ on_name_acquired (GDBusConnection *connection,
       g_spawn_async (NULL,
                      argv2,
                      NULL,
-                     G_SPAWN_STDOUT_TO_DEV_NULL |
-                     G_SPAWN_STDERR_TO_DEV_NULL, 
+                     G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
                      NULL, NULL,
                      NULL, NULL);
       


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]