From c3ab016164e448b81eefec741b8569c7d6ee6d2e Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Sat, 22 Nov 2014 12:57:36 +1000 Subject: [PATCH] Fixed minor redirection typo for 'which' command --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index f6a443e..4f1cfcb 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1725,7 +1725,7 @@ get_dns_entries() { SNI="" # override this as we test the IP only else # for security testing sometimes we have local host entries, so getent is preferred - if which getent 2>&1 >/dev/null ; then + if which getent &>/dev/null; then getent ahostsv4 $NODE 2>/dev/null >/dev/null if [ $? -eq 0 ]; then # Linux: