diff --git a/socks/manager.go b/socks/manager.go index f301124..9e2814d 100644 --- a/socks/manager.go +++ b/socks/manager.go @@ -34,7 +34,7 @@ func (m Manager) Serve() error { var err error m.server, err = socks5.New(&m.Config) if err != nil { - return nil, err + return err } m.listen, err = net.Listen("tcp", m.host+":"+m.port) if err != nil {