Skip to content
Snippets Groups Projects
Commit 0d1886a9 authored by Julian Heinze's avatar Julian Heinze Committed by Dmitri Naumov
Browse files

return EXIT_FAILURE

parent ae80889b
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,10 @@ int main(int argc, char* argv[]) ...@@ -81,7 +81,10 @@ int main(int argc, char* argv[])
if (mesh == nullptr) if (mesh == nullptr)
{ {
ERR("Input mesh not found..."); ERR("Input mesh not found...");
return false; #ifdef USE_PETSC
MPI_Finalize();
#endif
return EXIT_FAILURE;
} }
auto const& mat_ids = MeshLib::materialIDs(*mesh); auto const& mat_ids = MeshLib::materialIDs(*mesh);
if (!mat_ids) if (!mat_ids)
......
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