diff --git a/check-source.pl b/check-source.pl index e8cbd20..a81ce24 100755 --- a/check-source.pl +++ b/check-source.pl @@ -42,4 +42,5 @@ for my $file (sort @all_files) { } } -warn $fails > 0 ? "FAILED $fails\n" : "PASS\n"; \ No newline at end of file +die "FAILED $fails\n" if $fails > 0; +warn "PASS\n";