viewer-private#216 Viewer fails to rename vivox logs

master
Andrey Kleshchev 2024-03-25 22:53:47 +02:00 committed by Andrey Lihatskiy
parent 84345d7140
commit 83ded06e0c
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}