summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-10-26 04:13:27 +0100
committerest31 <MTest31@outlook.com>2015-10-26 04:45:00 +0100
commit5f342aa0154e59503fbb22e46ac95ef655aaad1a (patch)
treeb476f7a5e4d7b4f09ecd514af2c82484e5f8c132 /src/main.cpp
parentd69ef6acd386ccfd5ff456002591b97b92a26956 (diff)
downloadminetest-5f342aa0154e59503fbb22e46ac95ef655aaad1a.tar.gz
minetest-5f342aa0154e59503fbb22e46ac95ef655aaad1a.tar.bz2
minetest-5f342aa0154e59503fbb22e46ac95ef655aaad1a.zip
Remove some abort() calls
abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1538c15d4..1fa9243fa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -183,8 +183,7 @@ int main(int argc, char *argv[])
#ifndef __ANDROID__
// Run unit tests
if (cmd_args.getFlag("run-unittests")) {
- run_tests();
- return 0;
+ return run_tests();
}
#endif