tests/badsymbols.pl: when opening '$incdir' fails include it in the error message

This commit is contained in:
Fabian Keil 2020-02-28 10:46:22 +01:00 committed by Daniel Stenberg
parent e6f4ab3477
commit e11e5b2d46
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ sub scanheader {
}
opendir(my $dh, $incdir) || die "Can't opendir: $!";
opendir(my $dh, $incdir) || die "Can't opendir $incdir: $!";
my @hfiles = grep { /\.h$/ } readdir($dh);
closedir $dh;