mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Fix #2053
This commit fixes #2053 by setting $FIRST_FINDING to false after a section footer is output.
This commit is contained in:
parent
0118603401
commit
ff8e9f49cc
@ -1175,7 +1175,7 @@ fileout_section_header() {
|
||||
|
||||
# arg1: whether to end object too
|
||||
fileout_section_footer() {
|
||||
"$do_pretty_json" && printf "\n ]" >> "$JSONFILE"
|
||||
"$do_pretty_json" && FIRST_FINDING=false && printf "\n ]" >> "$JSONFILE"
|
||||
"$do_pretty_json" && "$1" && echo -e "\n }" >> "$JSONFILE"
|
||||
SECTION_FOOTER_NEEDED=false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user