mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
commit
fcf58016b0
@ -48,7 +48,7 @@ func StartDaemon(listenAddr string) (*Daemon, error) {
|
||||
d.unixl = unixl
|
||||
|
||||
if listenAddr != "" {
|
||||
// Watch out. Threre's a listener active which must be closed on errors.
|
||||
// Watch out. There's a listener active which must be closed on errors.
|
||||
tcpAddr, err := net.ResolveTCPAddr("tcp", listenAddr)
|
||||
if err != nil {
|
||||
d.unixl.Close()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user