diff --git a/run.go b/run.go index 24d207d..c2fa175 100644 --- a/run.go +++ b/run.go @@ -205,12 +205,12 @@ func run() error { //nolint:gocognit if err := e.Start(address); err != nil && err != http.ErrServerClosed { log.Error("troubles running the server, bailing...", "error", err) - started <- err + ok <- err return } - started <- nil + ok <- nil }(started) quit := make(chan os.Signal, 1)