diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl index 65c07cefe9222b463daebfadc46cd136bc3b4bc8..033bd53f84b4aea20223a50bde844fe9604b269e 100644 --- a/bin/slubsipbuilderbagit.pl +++ b/bin/slubsipbuilderbagit.pl @@ -109,7 +109,7 @@ GetOptions( "debug" => \$SLUB::LZA::SIPBuilderBagIt::with_debug, # optional "help|?" => \$help, # optional "man" => \$man, # optional - "print_sip_version" => sub{ print "supported sip version is $sipVersion\n"; exit 1; } # optional + "print_sip_version" => sub{ print "supported sip version is $sipVersion\n"; exit 1; }, # optional ) or pod2usage(2); # help diff --git a/lib/SLUB/LZA/SIPBuilderBagIt.pm b/lib/SLUB/LZA/SIPBuilderBagIt.pm index 389ae1cfb41c9b72f1ecb899cf6904334533c754..4ac5d00cd3715790679878ac78cba3b9d2797943 100644 --- a/lib/SLUB/LZA/SIPBuilderBagIt.pm +++ b/lib/SLUB/LZA/SIPBuilderBagIt.pm @@ -288,7 +288,7 @@ sub validateRightsXML($rightsFilePathString,$xsdName){ }; if ($@) { # error die "File $rightsName failed validation: $@"; - }; + } return 1; }