diff --git a/cmd/gotelem/cli/socketcan.go b/cmd/gotelem/cli/socketcan.go index 3ad1708..1994084 100644 --- a/cmd/gotelem/cli/socketcan.go +++ b/cmd/gotelem/cli/socketcan.go @@ -56,7 +56,7 @@ func (s *socketCANService) Start(cCtx *cli.Context, deps svcDeps) (err error) { logger := deps.Logger broker := deps.Broker - if cCtx.IsSet("can") { + if !cCtx.IsSet("can") { logger.Info("no can device provided") return }