From 68e5dfaa9c4e5ee49efa13421eb9fc4dfdb04077 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 28 Oct 2010 09:52:20 -0700 Subject: empathy: use the proper exit status --- src/empathy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/empathy.c b/src/empathy.c index df49d96c9..7a66d2d67 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -698,6 +698,7 @@ int main (int argc, char *argv[]) { EmpathyApp *app; + gint retval; g_thread_init (NULL); g_type_init (); @@ -715,11 +716,12 @@ main (int argc, char *argv[]) "flags", G_APPLICATION_HANDLES_COMMAND_LINE, NULL); - g_application_run (G_APPLICATION (app), argc, argv); + retval = g_application_run (G_APPLICATION (app), argc, argv); notify_uninit (); xmlCleanupParser (); g_object_unref (app); - return EXIT_SUCCESS; + + return retval; } -- cgit v1.2.3