From 41c697f232798c0b330279f52551930a53e244f0 Mon Sep 17 00:00:00 2001 From: Dirk Date: Mon, 30 Oct 2023 15:25:38 +0100 Subject: [PATCH] put the redirection in the right spot --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index fd1eb61..eb3269d 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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 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