diff --git a/app.go b/app.go index 59101be3..0f59a2ee 100644 --- a/app.go +++ b/app.go @@ -827,9 +827,9 @@ func (h *Headscale) getTLSSettings() (*tls.Config, error) { ReadTimeout: HTTPReadTimeout, } - err := server.ListenAndServe() go func() { + err := server.ListenAndServe() log.Fatal(). Caller(). Err(err).