Skip to content

Commit 0a8dd68

Browse files
authored
Merge pull request #2433 from drwetter/fix_2429
Fix weird bash globbing #2429
2 parents f3c7eb4 + a9103fd commit 0a8dd68

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
@@ -7619,7 +7619,7 @@ determine_trust() {
76197619
ca_bundles="$CA_BUNDLES_PATH/*.pem"
76207620
fi
76217621
for bundle_fname in $ca_bundles; do
7622-
certificate_file[i]=$(basename ${bundle_fname//.pem})
7622+
certificate_file[i]=$(basename ${bundle_fname//.pem} 2>/dev/null)
76237623
if [[ ! -r $bundle_fname ]]; then
76247624
prln_warning "\"$bundle_fname\" cannot be found / not readable"
76257625
return 1

0 commit comments

Comments
 (0)