mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
Return EXIT_FAILURE in main() instead of rethrow
This commit is contained in:
1 parent
863dcf1328
commit
7489269172
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user