diff --git a/internal/cli/main.go b/internal/cli/main.go index 439ac53..6f13434 100644 --- a/internal/cli/main.go +++ b/internal/cli/main.go @@ -92,6 +92,7 @@ func Run(args []string) { case <-ctx.Done(): cfg.Log().WithError(ctx.Err()).Info("Interrupt signal received") stop() + <-wgch case <-wgch: cfg.Log().Warn("all services stopped") }