mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	consistently open the file with echo here as well
see CSVFILE (and request #822)
This commit is contained in:
		@@ -838,8 +838,8 @@ json_header() {
 | 
				
			|||||||
          JSONHEADER=false
 | 
					          JSONHEADER=false
 | 
				
			||||||
     else
 | 
					     else
 | 
				
			||||||
          [[ -e "$JSONFILE" ]] && fatal "\"$JSONFILE\" exists. Either use \"--append\" or (re)move it" 1
 | 
					          [[ -e "$JSONFILE" ]] && fatal "\"$JSONFILE\" exists. Either use \"--append\" or (re)move it" 1
 | 
				
			||||||
          "$do_json" && printf "[\n" > "$JSONFILE"
 | 
					          "$do_json" && echo "[" > "$JSONFILE"
 | 
				
			||||||
          "$do_pretty_json" && printf "{\n" > "$JSONFILE"
 | 
					          "$do_pretty_json" && echo "{\n" > "$JSONFILE"
 | 
				
			||||||
     fi
 | 
					     fi
 | 
				
			||||||
     #FIRST_FINDING=false
 | 
					     #FIRST_FINDING=false
 | 
				
			||||||
     return 0
 | 
					     return 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user