Skip to content

Commit bac8cb7

Browse files
authored
Merge pull request #2219 from dcooper16/fix2198_30
Fix #2198
2 parents bed3cbe + 07dca9f commit bac8cb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testssl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,8 @@ fileout_json_finding() {
834834
if [[ "$1" == service ]]; then
835835
if [[ $SERVER_COUNTER -gt 1 ]]; then
836836
echo " ," >> "$JSONFILE"
837+
elif ! "$FIRST_FINDING"; then
838+
echo -n "," >> "$JSONFILE"
837839
fi
838840
target="$NODE"
839841
$do_mx_all_ips && target="$URI"

0 commit comments

Comments
 (0)