Skip to content

Commit 40c6be7

Browse files
authored
Merge pull request #2434 from drwetter/fix_2429_3.0
Fix weird bash globbing (3.0)
2 parents 7df0551 + 41c697f commit 40c6be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7094,7 +7094,7 @@ determine_trust() {
70947094
ca_bundles="$CA_BUNDLES_PATH/*.pem"
70957095
fi
70967096
for bundle_fname in $ca_bundles; do
7097-
certificate_file[i]=$(basename ${bundle_fname//.pem})
7097+
certificate_file[i]=$(basename ${bundle_fname//.pem} 2>/dev/null)
70987098
if [[ ! -r $bundle_fname ]]; then
70997099
prln_warning "\"$bundle_fname\" cannot be found / not readable"
71007100
return 1

0 commit comments

Comments
 (0)