diff options
| -rw-r--r-- | indra/llcommon/llerror.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 9d60dde672..3d4deac673 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)); | 
