Mercurial > audlegacy
comparison src/audacious/main.c @ 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 |
comparison
equal
deleted
inserted
replaced
4807:859ef55f062c | 4808:323b3d9c9b19 |
---|---|
616 { | 616 { |
617 g_message("Running interface %s@%p", options.interface, i); | 617 g_message("Running interface %s@%p", options.interface, i); |
618 interface_run(i); | 618 interface_run(i); |
619 } | 619 } |
620 else | 620 else |
621 { | |
621 g_print("%s: unable to launch selected interface %s\n", argv[0], options.interface); | 622 g_print("%s: unable to launch selected interface %s\n", argv[0], options.interface); |
623 return EXIT_FAILURE; | |
624 } | |
622 | 625 |
623 aud_quit(); | 626 aud_quit(); |
624 return EXIT_SUCCESS; | 627 return EXIT_SUCCESS; |
625 } | 628 } |