From 4dcbd904499c4b51516cba0c90f3eebeef94df53 Mon Sep 17 00:00:00 2001 From: saxon Date: Tue, 5 Feb 2019 10:40:08 +1030 Subject: [PATCH] cmd/revid-cli: removed another closed scope condition --- cmd/revid-cli/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 52bb283b..f37144a2 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -278,7 +278,8 @@ func run(cfg revid.Config) error { // If mode on netreceiver isn't paused then we can start revid. if ns.Mode() != paused && ns.Mode() != burst { - if err = rv.Start(); err != nil { + err = rv.Start() + if err != nil { return err } }