diff --git a/service/service.go b/service/service.go index af6c2f9..93a1cd1 100644 --- a/service/service.go +++ b/service/service.go @@ -247,7 +247,7 @@ func (s *service) start() (*errgroup.Group, error) { } fn := s.runWithCmux - if s.opts.withoutCmux { + if s.opts.withoutCmux || s.opts.mux == nil { fn = s.runWithoutCmux }