Skip to content

Commit

Permalink
return EXIT_FAILURE
Browse files Browse the repository at this point in the history
  • Loading branch information
HeiJuli authored and endJunction committed Jul 26, 2023
1 parent ae80889 commit 0d1886a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Applications/Utils/MeshEdit/AddFaultToVoxelGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ int main(int argc, char* argv[])
if (mesh == nullptr)
{
ERR("Input mesh not found...");
return false;
#ifdef USE_PETSC
MPI_Finalize();
#endif
return EXIT_FAILURE;
}
auto const& mat_ids = MeshLib::materialIDs(*mesh);
if (!mat_ids)
Expand Down

0 comments on commit 0d1886a

Please sign in to comment.