diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 898ee7d6d..3273dc95d 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -719,7 +719,7 @@ void CPatchManager::stopPatchThread() // **************************************************************************** void CPatchManager::deleteBatchFile() { - deleteFile(UpdateBatchFilename, false, false); + deleteFile(ClientRootPath + UpdateBatchFilename, false, false); } // **************************************************************************** @@ -952,7 +952,7 @@ void CPatchManager::executeBatchFile() else { // error occurs during the launch - string str = toString("Can't execute '%s': code=%d %s (error code 30)", UpdateBatchFilename.c_str(), errno, strerror(errno)); + string str = toString("Can't execute '%s': code=%d %s (error code 30)", batchFilename.c_str(), errno, strerror(errno)); throw Exception (str); } }