fix inverted socketcan
This commit is contained in:
parent
43b84dc0fb
commit
7b5cf8a107
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue