summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-09-16 19:44:45 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-09-16 21:27:58 +0300
commit892fb2d6e2ffc92636f381d3e817f9c5a71657dc (patch)
treef821019fd4083358c1f58d807a41cb0f12f894ba /indra/newview/llappviewer.cpp
parent6e24218680c15bbf2c7529cb23481a1e39888ca9 (diff)
#4651 Fix marker presence check
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 253c1268d3..62a1aa9fb6 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -5403,6 +5403,12 @@ void LLAppViewer::createErrorMarker(eLastExecEvent error_code) const
}
}
+bool LLAppViewer::errorMarkerExists() const
+{
+ std::string error_marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, ERROR_MARKER_FILE_NAME);
+ return LLAPRFile::isExist(error_marker_file, NULL, LL_APR_RB);
+}
+
void LLAppViewer::outOfMemorySoftQuit()
{
if (!mQuitRequested)