misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-25 03:34:23 +01:00
commit fd70d9b79e

View file

@ -5,7 +5,7 @@ import (
) )
func FindGateway(iface *Endpoint) (*Endpoint, error) { func FindGateway(iface *Endpoint) (*Endpoint, error) {
output, err = core.Exec("getprop", []string{"net.dns1"}) output, err := core.Exec("getprop", []string{"net.dns1"})
if err != nil { if err != nil {
return nil, err return nil, err
} }