Remove unecessary return

dev
Ruakij 2 years ago
parent 4fd103f722
commit 8a6f16303e

@ -34,7 +34,6 @@ func main() {
netInterface, err := netlink.LinkByName(iface) netInterface, err := netlink.LinkByName(iface)
if err != nil { if err != nil {
logger.Error.Fatal(err) logger.Error.Fatal(err)
return
} }
// Get the IPv4 address of the interface // Get the IPv4 address of the interface

Loading…
Cancel
Save