diff --git a/src/Tools/tnl-diff.cpp b/src/Tools/tnl-diff.cpp index 76c2e792bc5e7b2a8f09304ac038334506c7e586..013f7bf21a2218f940a037ca94e39709a14b0505 100644 --- a/src/Tools/tnl-diff.cpp +++ b/src/Tools/tnl-diff.cpp @@ -60,7 +60,7 @@ int main( int argc, char* argv[] ) if( ! parseObjectType( meshType, parsedMeshType ) ) { std::cerr << "Unable to parse the mesh type " << meshType << "." << std::endl; - return false; + return EXIT_FAILURE; } if( parsedMeshType[ 0 ] == "Meshes::Grid" || parsedMeshType[ 0 ] == "tnlGrid" ) // TODO: remove deprecated type name diff --git a/src/Tools/tnl-init.cpp b/src/Tools/tnl-init.cpp index 90870bad68daa3761c20c44b2d04e24ad22c5677..f42b9ad3c9aeb02690ef4f7def74acf6c2ce3087 100644 --- a/src/Tools/tnl-init.cpp +++ b/src/Tools/tnl-init.cpp @@ -65,7 +65,7 @@ int main( int argc, char* argv[] ) if( ! parseObjectType( meshType, parsedMeshType ) ) { std::cerr << "Unable to parse the mesh type " << meshType << "." << std::endl; - return false; + return EXIT_FAILURE; } if( ! resolveMeshType( parsedMeshType, parameters ) ) return EXIT_FAILURE;