Skip to content

Commit

Permalink
Merge pull request #2434 from drwetter/fix_2429_3.0
Browse files Browse the repository at this point in the history
Fix weird bash globbing (3.0)
  • Loading branch information
drwetter authored Oct 30, 2023
2 parents 7df0551 + 41c697f commit 40c6be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7094,7 +7094,7 @@ determine_trust() {
ca_bundles="$CA_BUNDLES_PATH/*.pem"
fi
for bundle_fname in $ca_bundles; do
certificate_file[i]=$(basename ${bundle_fname//.pem})
certificate_file[i]=$(basename ${bundle_fname//.pem} 2>/dev/null)
if [[ ! -r $bundle_fname ]]; then
prln_warning "\"$bundle_fname\" cannot be found / not readable"
return 1
Expand Down

0 comments on commit 40c6be7

Please sign in to comment.