1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-17 13:46:04 +02:00

Merge pull request from dcooper16/fix2198_30

Fix 
This commit is contained in:
Dirk Wetter 2022-08-26 10:12:40 +02:00 committed by GitHub
commit bac8cb73f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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