mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Better error description
This commit is contained in:
parent
a6e99525ac
commit
3a85c4d367
1 changed files with 1 additions and 1 deletions
2
app.go
2
app.go
|
@ -418,7 +418,7 @@ func (h *Headscale) Serve() error {
|
|||
|
||||
err = h.ensureUnixSocketIsAbsent()
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("unable to remove old socket file: %w", err)
|
||||
}
|
||||
|
||||
socketListener, err := net.Listen("unix", h.cfg.UnixSocket)
|
||||
|
|
Loading…
Reference in a new issue