diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-07-21 16:26:52 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-07-21 16:26:52 -0400 |
commit | ca5bd96bb0d60c795b78c883e91792d4a68ad2c1 (patch) | |
tree | 44476d0a8e3cf0f2d32e9d7c9e8ef1c950fae306 /indra/mac_crash_logger/mac_crash_logger.cpp | |
parent | 4311ee30ec52260f38ac20e70a0fc1847cc4b7d0 (diff) | |
parent | d26356d7e16191da90cae23d3871d4e7289e175f (diff) |
merge
Diffstat (limited to 'indra/mac_crash_logger/mac_crash_logger.cpp')
-rw-r--r-- | indra/mac_crash_logger/mac_crash_logger.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/mac_crash_logger/mac_crash_logger.cpp b/indra/mac_crash_logger/mac_crash_logger.cpp index 20b491c401..6571b35241 100644 --- a/indra/mac_crash_logger/mac_crash_logger.cpp +++ b/indra/mac_crash_logger/mac_crash_logger.cpp @@ -25,22 +25,23 @@ */ #include "linden_common.h" - #include "llcrashloggermac.h" int main(int argc, char **argv) { - //time(&gLaunchTime); - - llinfos << "Starting Second Life Viewer Crash Reporter" << llendl; + llinfos << "Starting crash reporter." << llendl; LLCrashLoggerMac app; app.parseCommandOptions(argc, argv); - if(!app.init()) + + if (! app.init()) { - return 0; + llwarns << "Unable to initialize application." << llendl; + return 1; } + app.mainLoop(); - + app.cleanup(); + llinfos << "Crash reporter finished normally." << llendl; return 0; } |