Skip to content
Snippets Groups Projects
Commit 90204709 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

exit with "_errorLevel"

parent 3f3f3781
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,8 @@ void Msg::Exit(int level) ...@@ -134,7 +134,8 @@ void Msg::Exit(int level)
#if defined(HAVE_MPI) #if defined(HAVE_MPI)
MPI_Finalize(); MPI_Finalize();
#endif #endif
exit(0);
exit(_errorCount);
} }
void Msg::Fatal(const char *fmt, ...) void Msg::Fatal(const char *fmt, ...)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment