Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
eiqnepm committed Feb 7, 2024
1 parent 64064d0 commit 9530e03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/portcheck/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ func main() {
continue
}

if err = checkPort(localAddr, port, dialTimeout); err == nil {
err = checkPort(localAddr, port, dialTimeout)
if err == nil {
continue
}

Expand Down

0 comments on commit 9530e03

Please sign in to comment.