summaryrefslogtreecommitdiff
path: root/indra/newview/lllogininstance.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-07 22:19:17 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-07 22:21:07 +0300
commit314d08681415d8474bf4885c80df0a1abafbe78b (patch)
tree00a7215610f47c34dec2ff9dbdf0cc4a589011cc /indra/newview/lllogininstance.cpp
parentff65e23f2097d4cca524d58b4fa2ab839184ee27 (diff)
SL-17546 Do not launch updater for a non-interactible instance
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
-rw-r--r--indra/newview/lllogininstance.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp
index a3d0eb5796..e2e5e161c2 100644
--- a/indra/newview/lllogininstance.cpp
+++ b/indra/newview/lllogininstance.cpp
@@ -280,7 +280,9 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia
mRequestData["options"] = requested_options;
mRequestData["http_params"] = http_params;
#if LL_RELEASE_FOR_DOWNLOAD
- mRequestData["wait_for_updater"] = !gSavedSettings.getBOOL("CmdLineSkipUpdater") && !LLAppViewer::instance()->isUpdaterMissing();
+ mRequestData["wait_for_updater"] = !gSavedSettings.getBOOL("CmdLineSkipUpdater")
+ && !LLAppViewer::instance()->isUpdaterMissing()
+ && !gNonInteractive;
#else
mRequestData["wait_for_updater"] = false;
#endif