diff --git a/src/finiteVolume/fvMesh/fvMeshGeometry.C b/src/finiteVolume/fvMesh/fvMeshGeometry.C
index 422ca761dc158a2ad75ba7f1023e223b923af86d..3c61706f46b8fa3d2897b2a2eb95849e987a0e8c 100644
--- a/src/finiteVolume/fvMesh/fvMeshGeometry.C
+++ b/src/finiteVolume/fvMesh/fvMeshGeometry.C
@@ -441,7 +441,7 @@ const surfaceScalarField& fvMesh::phi() const
     {
         FatalErrorIn("fvMesh::phi()")
             << "mesh flux field does not exist, is the mesh actually moving?"
-            << exit(FatalError);
+            << abort(FatalError);
     }
 
     // Set zero current time
@@ -461,7 +461,7 @@ surfaceScalarField& fvMesh::setPhi()
     {
         FatalErrorIn("fvMesh::setPhi()")
             << "mesh flux field does not exist, is the mesh actually moving?"
-            << exit(FatalError);
+            << abort(FatalError);
     }
 
     return *phiPtr_;