diff --git a/service.go b/service.go index afbe5f6d..1f49371e 100644 --- a/service.go +++ b/service.go @@ -60,6 +60,10 @@ func (s *service) Init(opts ...Option) { // so we can call cmd.Init once. select { case <-s.init: + // only process options + for _, o := range opts { + o(&s.opts) + } default: // close init close(s.init)