]> git.0d.be Git - empathy.git/commitdiff
empathy-chat: use the proper exit status
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 28 Oct 2010 16:50:03 +0000 (09:50 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 29 Oct 2010 16:35:10 +0000 (09:35 -0700)
src/empathy-chat.c

index 116f153f02aa558543ecf2be50374ca701539d19..9bfc6b8163dc297f1b590b32501b59a15ff74e57 100644 (file)
@@ -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;
 }