From 4823a29503d1f7aeba9a4bad8f7c3f88f61a14fb Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Mon, 27 Jan 2014 14:45:21 +0100
Subject: [PATCH] [PASSED QA] Bug 11278: (follow-up) Return an exit value (1)
 if the module is not found.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 misc/migration_tools/bulkmarcimport.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl
index 9b42320..23e2a13 100755
--- a/misc/migration_tools/bulkmarcimport.pl
+++ b/misc/migration_tools/bulkmarcimport.pl
@@ -53,7 +53,7 @@ GetOptions(
     't|test' => \$test_parameter,
     's' => \$skip_marc8_conversion,
     'c:s' => \$char_encoding,
-    'v:i' => \$verbose,
+    'v:+' => \$verbose,
     'fk' => \$fk_off,
     'm:s' => \$format,
     'l:s' => \$logfile,
@@ -100,7 +100,7 @@ if(defined $localcust) { #local customize module
         }
         else {
             print "WARNING: customize module $localcust.pm not found!\n";
-            exit;
+            exit 1;
         }
     }
     require $localcust if $localcust;
-- 
1.7.10.4