From b2ba10b40b1f5fa379e28284e3a629e5657d18fc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 27 Jan 2014 14:45:21 +0100 Subject: [PATCH] Bug 11278: (follow-up) Return an exit value (1) if the module is not found. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Galen Charlton --- 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 ff6987a629..4a47de00c3 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, @@ -102,7 +102,7 @@ if(defined $localcust) { #local customize module } else { print "WARNING: customize module $localcust.pm not found!\n"; - exit; + exit 1; } } require $localcust if $localcust; -- 2.39.5