Fix #1699 in 3.0 branch

This commit makes the same change as #1711, but in the 3.0 branch.
This commit is contained in:
David Cooper 2020-08-31 10:42:11 -04:00
parent d9866d875a
commit b7dab55b6c

View File

@ -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
}