Browse Source

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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
3.16.x
Jonathan Druart 10 years ago
committed by Galen Charlton
parent
commit
b2ba10b40b
  1. 4
      misc/migration_tools/bulkmarcimport.pl

4
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;

Loading…
Cancel
Save