From 8245cb2441217b625ede97fa276a7619d18b4745 Mon Sep 17 00:00:00 2001
From: OTB Bot <otbbot@orfeo-toolbox.org>
Date: Wed, 21 May 2008 16:44:10 +0000
Subject: [PATCH]

---
 Utils/otbConcatenateImages.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Utils/otbConcatenateImages.cxx b/Utils/otbConcatenateImages.cxx
index 6ff0053851..a10466da56 100755
--- a/Utils/otbConcatenateImages.cxx
+++ b/Utils/otbConcatenateImages.cxx
@@ -27,7 +27,8 @@ int main(int argc, char** argv)
     }
   catch( itk::ExceptionObject & err ) 
     { 
-      return EXIT_SUCCESS;
+	  std::cerr << err << std::endl;
+      return EXIT_FAILURE;
     }
 
   const unsigned int NbImages = argc-4;
-- 
GitLab