diff options
author | Aaron Stone <stone@lindenlab.com> | 2011-07-12 15:48:02 -0700 |
---|---|---|
committer | Aaron Stone <stone@lindenlab.com> | 2011-07-12 15:48:02 -0700 |
commit | 42daa3497b6626cbb5f32ba54162558cd025069b (patch) | |
tree | 65fb889b9aefe63171de33d21de93bb81c832733 /indra/mac_crash_logger/mac_crash_logger.cpp | |
parent | 66dcc72870b19c6ada65a643ca33c779c9c9989b (diff) |
STORM-1482 The Viewer shouldn't overwrite the crash behavior settings, some cleanups to the crash reporters, and the ability to use --set GroupName.SettingName to set parameters outside of the (default) Global settings group.
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; } |