find-file-doc-comments.pl: die on non-existent input files [minor]
This commit is contained in:
parent
2cf83f5f7b
commit
f9267417fa
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ exit main(@ARGV);
|
|||
sub main {
|
||||
die "Need a filename" unless @_;
|
||||
my $filename = shift;
|
||||
die "Could not read $filename" unless -r $filename;
|
||||
say "Processing file $filename" if $VERBOSE;
|
||||
|
||||
# Fatalize all warnings, and log which file triggered the warning.
|
||||
|
|
|
|||
Loading…
Reference in a new issue