mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Changed: Use absolute path
This commit is contained in:
parent
5c8e42734c
commit
7028b0ce67
1 changed files with 2 additions and 2 deletions
|
@ -719,7 +719,7 @@ void CPatchManager::stopPatchThread()
|
||||||
// ****************************************************************************
|
// ****************************************************************************
|
||||||
void CPatchManager::deleteBatchFile()
|
void CPatchManager::deleteBatchFile()
|
||||||
{
|
{
|
||||||
deleteFile(UpdateBatchFilename, false, false);
|
deleteFile(ClientRootPath + UpdateBatchFilename, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ****************************************************************************
|
// ****************************************************************************
|
||||||
|
@ -952,7 +952,7 @@ void CPatchManager::executeBatchFile()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// error occurs during the launch
|
// 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);
|
throw Exception (str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue