changeset 4808:323b3d9c9b19

Exit immediately upon failing to launch interface.
author William Pitcock <nenolod@atheme.org>
date Thu, 16 Oct 2008 13:36:26 -0500
parents 859ef55f062c
children 17a91cf51340
files src/audacious/main.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Thu Oct 16 12:59:14 2008 -0500
+++ b/src/audacious/main.c	Thu Oct 16 13:36:26 2008 -0500
@@ -618,7 +618,10 @@
         interface_run(i);
     }
     else
+    {
         g_print("%s: unable to launch selected interface %s\n", argv[0], options.interface);
+        return EXIT_FAILURE;
+    }
 
     aud_quit();
     return EXIT_SUCCESS;