diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 9d60dde672e6540bf8abd3fdbf197ca4ee03ebbd..3d4deac6735f05727800c9a9218544bb4e584258 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -495,7 +495,11 @@ namespace LLError { void initForServer(const std::string& identity) { - std::string dir = LLApp::instance()->getOption("configdir"); + std::string dir = "/opt/linden/etc"; + if (LLApp::instance()) + { + dir = LLApp::instance()->getOption("configdir").asString(); + } commonInit(dir); #if !LL_WINDOWS addRecorder(new RecordToSyslog(identity));