From aa4f7eae7674d1cc083fbea342f8c86694ec1d39 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 13 Feb 2016 23:39:40 +0100 Subject: [PATCH] Changed: Don't need to call exit(0), Ryzom will exit itself after that --- code/ryzom/client/src/login_patch.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 4d7578dbd..bf6c1c494 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -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));