mirror of
https://github.com/pnx/pinger.git
synced 2026-06-16 03:24:54 +02:00
main.go: no need to return as it's the last statement
This commit is contained in:
parent
a4343fa706
commit
b9c0d0b416
1 changed files with 0 additions and 1 deletions
1
main.go
1
main.go
|
|
@ -90,6 +90,5 @@ func main() {
|
||||||
fmt.Println("PING", pinger.Addr())
|
fmt.Println("PING", pinger.Addr())
|
||||||
if err = pinger.Run(); err != nil {
|
if err = pinger.Run(); err != nil {
|
||||||
fmt.Println("Error:", err)
|
fmt.Println("Error:", err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue