From b7dab55b6c6c9886a876039cf6f01dc8ac20adff Mon Sep 17 00:00:00 2001 From: David Cooper Date: Mon, 31 Aug 2020 10:42:11 -0400 Subject: [PATCH] Fix #1699 in 3.0 branch This commit makes the same change as #1711, but in the 3.0 branch. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 109413a..c3611ae 100755 --- a/testssl.sh +++ b/testssl.sh @@ -873,7 +873,7 @@ fileout_pretty_json_banner() { fileout_banner() { if "$JSONHEADER"; then # "$do_json" && # here we maybe should add a banner, too - "$do_pretty_json" && (printf "%s\n" "$(fileout_pretty_json_banner)") >> "$JSONFILE" + "$do_pretty_json" && FIRST_FINDING=true && (printf "%s\n" "$(fileout_pretty_json_banner)") >> "$JSONFILE" fi }