From d304979d6dc8bfb35d2f4ecb69456868d4d89064 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 28 Oct 2010 09:50:03 -0700 Subject: empathy-chat: use the proper exit status --- src/empathy-chat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/empathy-chat.c b/src/empathy-chat.c index 116f153f0..9bfc6b816 100644 --- a/src/empathy-chat.c +++ b/src/empathy-chat.c @@ -83,6 +83,7 @@ main (int argc, GError *error = NULL; EmpathyChatManager *chat_mgr; EmpathyIdle *idle; + gint retval; /* Init */ g_thread_init (NULL); @@ -138,7 +139,7 @@ main (int argc, DEBUG ("Waiting for text channels to handle"); - g_application_run (G_APPLICATION (app), argc, argv); + retval = g_application_run (G_APPLICATION (app), argc, argv); g_object_unref (app); g_object_unref (idle); @@ -148,5 +149,5 @@ main (int argc, g_object_unref (debug_sender); #endif - return EXIT_SUCCESS; + return retval; } -- cgit v1.2.3