diff --git a/Modules/Wrappers/CommandLine/src/otbApplicationLauncherCommandLine.cxx b/Modules/Wrappers/CommandLine/src/otbApplicationLauncherCommandLine.cxx index 4c5bd8a93f43780e7d4827b260ae92e73ca9fde3..72f8b84d95c656070dbe0748572a1e140e2d78b7 100644 --- a/Modules/Wrappers/CommandLine/src/otbApplicationLauncherCommandLine.cxx +++ b/Modules/Wrappers/CommandLine/src/otbApplicationLauncherCommandLine.cxx @@ -270,7 +270,7 @@ int main(int argc, char* argv[]) if (argc < 2) { ShowUsage(argv); - return false; + return EXIT_FAILURE; } std::vector<std::string> vexp; @@ -302,7 +302,7 @@ int main(int argc, char* argv[]) if (vexp.empty()) { ShowUsage(argv); - return false; + return EXIT_FAILURE; } bool success = launcher->Load(vexp) && launcher->ExecuteAndWriteOutput();