summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-03-25 22:53:47 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-11 01:27:29 +0200
commit83ded06e0c0b48478020c57bbf228520bf51cab6 (patch)
treed0c8ffbd7963cfb0181c58c85f9d5015ada77276
parent84345d7140997720e1302bae1052f4346ba804cd (diff)
viewer-private#216 Viewer fails to rename vivox logs
-rw-r--r--indra/newview/llvoicevivox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index 8792ae3285..6d29038a23 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -1014,6 +1014,7 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon()
std::string old_log = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "SLVoice.old");
if (gDirUtilp->fileExists(new_log))
{
+ LLFile::remove(old_log, ENOENT);
LLFile::rename(new_log, old_log);
}