Skip to content

Commit

Permalink
Merge pull request #2433 from drwetter/fix_2429
Browse files Browse the repository at this point in the history
Fix weird bash globbing #2429
  • Loading branch information
drwetter authored Oct 30, 2023
2 parents f3c7eb4 + a9103fd commit 0a8dd68
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 @@ -7619,7 +7619,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 0a8dd68

Please sign in to comment.