Return EXIT_FAILURE in main() instead of rethrow

This commit is contained in:
Joakim Hove 2019-05-24 08:34:12 +02:00
parent 863dcf1328
commit 7489269172

View File

@ -293,7 +293,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;