This commit is the same as #2211, but for the 3.0 branch.
This commit is contained in:
David Cooper 2022-08-25 09:44:14 -07:00 committed by GitHub
parent bed3cbe792
commit 07dca9fd6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -834,6 +834,8 @@ fileout_json_finding() {
if [[ "$1" == service ]]; then
if [[ $SERVER_COUNTER -gt 1 ]]; then
echo " ," >> "$JSONFILE"
elif ! "$FIRST_FINDING"; then
echo -n "," >> "$JSONFILE"
fi
target="$NODE"
$do_mx_all_ips && target="$URI"