|
From: Tapio V. <aa...@us...> - 2010-08-12 21:27:39
|
Module: performous
Branch: joinmenu
Commit: 5fc70148025807ed00ac145711cfe5952ded7a91
Author: Tapio Vierros <tap...@gm...>
Date: Mon Aug 9 18:57:53 2010 +0300
Return 1 when exiting main() with fatal error.
---
game/main.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/game/main.cc b/game/main.cc
index 8eaec03..508b965 100644
--- a/game/main.cc
+++ b/game/main.cc
@@ -428,6 +428,7 @@ int main(int argc, char** argv) try {
return 0; // Do not remove. SDL_Main (which this function is called on some platforms) needs return statement.
} catch (std::exception& e) {
std::cerr << "FATAL ERROR: " << e.what() << std::endl;
+ return 1;
}
void outputOptionalFeatureStatus() {
|