Merge pull request #1859 from joakim-hove/use-exit

Return EXIT_FAILURE in main() instead of rethrow
This commit is contained in:
Kai Bao
2019-05-24 10:29:59 +02:00
committed by GitHub

View File

@@ -296,7 +296,7 @@ int main(int argc, char** argv)
std::cerr << "Failed to create valid EclipseState object." << std::endl;
std::cerr << "Exception caught: " << e.what() << std::endl;
}
throw;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;