From d16a72cfe2ebffc24f0ec4075287b7206c99696c Mon Sep 17 00:00:00 2001 From: Florent Lamiraux Date: Wed, 4 Oct 2023 08:24:21 +0200 Subject: [PATCH] [TUTO] Fix return value. --- apps/calibration/visp-compute-chessboard-poses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {