mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
put the redirection in the right spot
This commit is contained in:
parent
775ed60437
commit
41c697f232
@ -7094,7 +7094,7 @@ determine_trust() {
|
|||||||
ca_bundles="$CA_BUNDLES_PATH/*.pem"
|
ca_bundles="$CA_BUNDLES_PATH/*.pem"
|
||||||
fi
|
fi
|
||||||
for bundle_fname in $ca_bundles; do
|
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
|
if [[ ! -r $bundle_fname ]]; then
|
||||||
prln_warning "\"$bundle_fname\" cannot be found / not readable"
|
prln_warning "\"$bundle_fname\" cannot be found / not readable"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user