From 64c280e6e2336c29332e37d0cc9809656786fcd6 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 3 Dec 2002 01:46:28 +0000 Subject: minor fixes --- src/main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cc b/src/main.cc index d7b5464..5a4d65c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: main.cc,v 1.10 2002/12/02 22:02:35 fluxgen Exp $ +// $Id: main.cc,v 1.11 2002/12/03 01:46:28 fluxgen Exp $ @@ -195,12 +195,12 @@ int main(int argc, char **argv) { _chdir2(getenv("X11ROOT")); #endif // __EMX__ Fluxbox *fluxbox=0; - int exitcode=EXIT_SUCCESS; + int exitcode=EXIT_FAILURE; try { fluxbox = new Fluxbox(argc, argv, session_display, rc_file); fluxbox->eventLoop(); - + exitcode = EXIT_SUCCESS; } catch (std::out_of_range &oor) { cerr<<"Fluxbox: Out of range: "<