[gnome-session] fail-whale: use correct gspawn flags



commit 635d6f641afc0ad4e983d61afe0967bd1e9209b3
Author: Tim Lunn <tim feathertop org>
Date:   Tue Mar 10 08:26:12 2015 +1100

    fail-whale: use correct gspawn flags
    
    without this the GChildWatchFunc callback never fires
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745707

 gnome-session/gsm-fail-whale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-fail-whale.c b/gnome-session/gsm-fail-whale.c
index 884cc43..1322f67 100644
--- a/gnome-session/gsm-fail-whale.c
+++ b/gnome-session/gsm-fail-whale.c
@@ -51,7 +51,7 @@ gsm_fail_whale_dialog_we_failed  (gboolean            debug_mode,
                 argv[i++] = "--extensions";
         argv[i++] = NULL;
 
-        if (!g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, &pid, NULL)) {
+        if (!g_spawn_async (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid, NULL)) {
                 exit (1);
         }
 


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