mirror of https://bitbucket.org/ausocean/av.git
cmd/revid-cli: removed another closed scope condition
This commit is contained in:
parent
35344402b8
commit
4dcbd90449
|
@ -278,7 +278,8 @@ func run(cfg revid.Config) error {
|
||||||
|
|
||||||
// If mode on netreceiver isn't paused then we can start revid.
|
// If mode on netreceiver isn't paused then we can start revid.
|
||||||
if ns.Mode() != paused && ns.Mode() != burst {
|
if ns.Mode() != paused && ns.Mode() != burst {
|
||||||
if err = rv.Start(); err != nil {
|
err = rv.Start()
|
||||||
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue