Skip to content

Commit

Permalink
[backend] improve error message and fix perl syntax for SLE 15
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 20, 2018
1 parent be156a9 commit d3a4e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSVerify.pm
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ sub verify_proj {
for my $link (@{$proj->{'link'} || []}) {
verify_projid($link->{'project'});
if (exists($link->{'vrevmode'})) {
die("bad vrevmode attribute\n") unless $link->{'vrevmode'} && ($link->{'vrevmode'} eq 'extend' || $link->{'vrevmode'} eq 'unextend');
die("bad vrevmode attribute: $link->{'vrevmode'}\n") unless $link->{'vrevmode'} && ($link->{'vrevmode'} eq 'extend' || $link->{'vrevmode'} eq 'unextend');
}
}
for my $f ('build', 'publish', 'debuginfo', 'useforbuild', 'lock', 'binarydownload', 'sourceaccess', 'access') {
Expand Down

0 comments on commit d3a4e72

Please sign in to comment.