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

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent e92a3e03a8
commit a264be16f8

@ -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…
Cancel
Save