From 65d6c2755114f0fd0782075a61f845cd1e4fd2da Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Wed, 4 Aug 2021 19:33:01 +0200 Subject: [PATCH] Redirect debugme() outputs to stderr ... to address #1956 and other places. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index ebc4687..ec67475 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1166,7 +1166,7 @@ get_last_char() { } # Checking for last char. If already a separator supplied, we don't need an additional one debugme() { - [[ "$DEBUG" -ge 2 ]] && "$@" + [[ "$DEBUG" -ge 2 ]] && "$@" >&2 return 0 }