Changed: Don't need to call exit(0), Ryzom will exit itself after that

This commit is contained in:
kervala 2016-02-13 23:39:40 +01:00
parent 24309d5a7f
commit 2b8b5b0e84

View file

@ -952,11 +952,7 @@ void CPatchManager::executeBatchFile()
arguments += " " + toString(LoginShardId);
}
if (launchProgram(batchFilename, arguments, false))
{
exit(0);
}
else
if (!launchProgram(batchFilename, arguments, false))
{
// error occurs during the launch
string str = toString("Can't execute '%s': code=%d %s (error code 30)", batchFilename.c_str(), errno, strerror(errno));