Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kamerdinerov committed Sep 6, 2024
1 parent aca35bd commit 7289754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func (s *Scanner) Print(outStr string, ping time.Duration) {
logEntry += formattedDomain
}

if formattedPing != "" || formattedPing != "0s" {
if formattedPing != "" && formattedPing != "0s" {
logEntry += formattedPing
}

Expand Down

0 comments on commit 7289754

Please sign in to comment.