diff --git a/apps/calibration/visp-compute-chessboard-poses.cpp b/apps/calibration/visp-compute-chessboard-poses.cpp index 18208f2fa9..ffb68ffd81 100644 --- a/apps/calibration/visp-compute-chessboard-poses.cpp +++ b/apps/calibration/visp-compute-chessboard-poses.cpp @@ -181,7 +181,7 @@ int main(int argc, const char **argv) if (!vpIoTools::checkFilename(opt_intrinsic_file)) { std::cout << "Camera parameters file " << opt_intrinsic_file << " doesn't exist." << std::endl; std::cout << "Use --help option to see how to set its location..." << std::endl; - return EXIT_SUCCESS; + return EXIT_FAILURE; } if (opt_input_img_files.empty()) {