mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Changed: Don't need to call exit(0), Ryzom will exit itself after that
This commit is contained in:
parent
da2916e41e
commit
aa4f7eae76
1 changed files with 1 additions and 5 deletions
|
@ -952,11 +952,7 @@ void CPatchManager::executeBatchFile()
|
||||||
arguments += " " + toString(LoginShardId);
|
arguments += " " + toString(LoginShardId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (launchProgram(batchFilename, arguments, false))
|
if (!launchProgram(batchFilename, arguments, false))
|
||||||
{
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
// error occurs during the launch
|
// error occurs during the launch
|
||||||
string str = toString("Can't execute '%s': code=%d %s (error code 30)", batchFilename.c_str(), errno, strerror(errno));
|
string str = toString("Can't execute '%s': code=%d %s (error code 30)", batchFilename.c_str(), errno, strerror(errno));
|
||||||
|
|
Loading…
Reference in a new issue