mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
tests/badsymbols.pl: when opening '$incdir' fails include it in the error message
This commit is contained in:
parent
e6f4ab3477
commit
e11e5b2d46
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user