summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lunn <tim@feathertop.org>2015-03-10 08:26:12 +1100
committerRay Strode <rstrode@redhat.com>2015-03-09 17:46:01 -0400
commit635d6f641afc0ad4e983d61afe0967bd1e9209b3 (patch)
treed398a6a3dd69cb33f594367566c685dd13e7f176
parent5925f9c8fcb3d79651103ae4538e99477cd7027c (diff)
downloadgnome-session-635d6f641afc0ad4e983d61afe0967bd1e9209b3.tar.gz
fail-whale: use correct gspawn flags
without this the GChildWatchFunc callback never fires https://bugzilla.gnome.org/show_bug.cgi?id=745707
-rw-r--r--gnome-session/gsm-fail-whale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-session/gsm-fail-whale.c b/gnome-session/gsm-fail-whale.c
index 884cc435..1322f670 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);
}