Lint tweaks

This commit is contained in:
Neil Alexander 2022-09-24 17:05:44 +01:00
parent d24d3fa047
commit d9fe6f72ac
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 12 additions and 13 deletions

View file

@ -112,7 +112,7 @@ func (l *linkTLS) listen(url *url.URL, sintf string) (*Listener, error) {
l.core.log.Errorln("Failed to create inbound link:", err)
}
}
tlslistener.Close()
_ = tlslistener.Close()
close(entry.closed)
l.core.log.Printf("TLS listener stopped on %s", listener.Addr())
}()