cmd/revid-cli: removed another closed scope condition

This commit is contained in:
saxon 2019-02-05 10:40:08 +10:30
parent 35344402b8
commit 4dcbd90449
1 changed files with 2 additions and 1 deletions

View File

@ -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
} }
} }