diff --git a/testssl.sh b/testssl.sh index 9b0ec76..ed7fc7b 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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 2>/dev/null}) + 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