diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-12-14 12:57:05 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-12-14 12:57:05 -0500 |
| commit | 07dd6cf67e316797974d1e26961d0d63a4b40ef2 (patch) | |
| tree | f04964498264df702bb7d63343ecb3ea3015e05b /indra/mac_crash_logger/mac_crash_logger.cpp | |
| parent | 83299b56c4a9922a2dfa141f2ff45f3d52883c07 (diff) | |
| parent | d3293be2fe5b2bb04310ad1efc3801f724589654 (diff) | |
merge changes for DRTVWR-224
Diffstat (limited to 'indra/mac_crash_logger/mac_crash_logger.cpp')
| -rw-r--r-- | indra/mac_crash_logger/mac_crash_logger.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/mac_crash_logger/mac_crash_logger.cpp b/indra/mac_crash_logger/mac_crash_logger.cpp index 6571b35241..6add74556f 100644 --- a/indra/mac_crash_logger/mac_crash_logger.cpp +++ b/indra/mac_crash_logger/mac_crash_logger.cpp @@ -26,11 +26,12 @@ #include "linden_common.h" #include "llcrashloggermac.h" +#include "indra_constants.h" +#include <iostream> + int main(int argc, char **argv) { - llinfos << "Starting crash reporter." << llendl; - LLCrashLoggerMac app; app.parseCommandOptions(argc, argv); @@ -39,9 +40,16 @@ int main(int argc, char **argv) llwarns << "Unable to initialize application." << llendl; return 1; } + if (app.getCrashBehavior() != CRASH_BEHAVIOR_ALWAYS_SEND) + { +// return NSApplicationMain(argc, (const char **)argv); + } app.mainLoop(); + app.cleanup(); + llinfos << "Crash reporter finished normally." << llendl; + return 0; } |
