aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Submit/Check/Rpmlint.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Check/Rpmlint.pm b/lib/Youri/Submit/Check/Rpmlint.pm
index f56ba0e..293f18e 100644
--- a/lib/Youri/Submit/Check/Rpmlint.pm
+++ b/lib/Youri/Submit/Check/Rpmlint.pm
@@ -65,8 +65,8 @@ sub run {
my @errors;
my $results = $self->{opt}->('results', $_target);
- croak "no results to check" unless $results;
- croak "fatal should be an arrayref" unless ref $results eq 'ARRAY';
+ croak "rpmlint check: no results to check" unless $results;
+ croak "rpmlint check: fatal should be an arrayref" unless ref $results eq 'ARRAY';
$self->{_config} = $self->{opt}->('config', $_target);
$self->{_path} = $self->{opt}->('path', $_target);
$self->{_pattern} = '^(?:' . join('|', @$results) . ')$';