fix inverted socketcan

This commit is contained in:
saji 2023-07-06 15:32:36 -05:00
parent 43b84dc0fb
commit 7b5cf8a107

View file

@ -56,7 +56,7 @@ func (s *socketCANService) Start(cCtx *cli.Context, deps svcDeps) (err error) {
logger := deps.Logger logger := deps.Logger
broker := deps.Broker broker := deps.Broker
if cCtx.IsSet("can") { if !cCtx.IsSet("can") {
logger.Info("no can device provided") logger.Info("no can device provided")
return return
} }