summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-03-25 22:53:47 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-03-25 22:59:51 +0200
commit18c4d8732aae9a8bf10d6a84bc37261b242d16c6 (patch)
tree79045b3a0222c669736592bcb4009b3253834abb /indra/newview
parent7975a45eb0e72c78a90f2fde449e14c1f607561b (diff)
viewer-private#216 Viewer fails to rename vivox logs
Diffstat (limited to 'indra/newview')
-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 3725510b6a..bda8c35702 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -989,6 +989,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);
}