From 51d5005fa371b77588c37b5edf127a756f9750fd Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Wed, 18 Nov 2009 17:07:37 -0500
Subject: [PATCH] Make failure to load lleventhost.dll when requested a fatal
 error. This addresses a failure mode Mani encountered when lleventhost.dll
 wasn't built. testlangs.py couldn't talk to the newly-launched viewer -- but
 thinking that was because it had crashed, it went ahead and launched a whole
 bunch more. This fix avoids the possibility of rogue viewer processes on an
 unattended test machine.

---
 indra/newview/llappviewer.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index f82d1780895..445ff5f08e6 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4185,7 +4185,7 @@ void LLAppViewer::loadEventHostModule(S32 listen_port)
 
 	if(dso_path == "")
 	{
-		llwarns << "QAModeEventHost requested but module \"" << dso_name << "\" not found!" << llendl;
+		llerrs << "QAModeEventHost requested but module \"" << dso_name << "\" not found!" << llendl;
 		return;
 	}
 
@@ -4213,7 +4213,7 @@ void LLAppViewer::loadEventHostModule(S32 listen_port)
 
 	if(status != 0)
 	{
-		llwarns << "problem loading eventhost plugin, status: " << status << llendl;
+		llerrs << "problem loading eventhost plugin, status: " << status << llendl;
 	}
 
 	mPlugins.insert(eventhost_dso_handle);
-- 
GitLab