From 796aaa9d95a73699378050c55c56668275ea1053 Mon Sep 17 00:00:00 2001 From: Alan Noble Date: Thu, 28 Jun 2018 16:01:15 +0930 Subject: [PATCH] Start revid if !paused. --- cmd/revid-cli/main.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index fc329ef1..b73b499c 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -274,6 +274,13 @@ func run() error { if vars["mode"] == "Paused" { paused = true } + if !paused { + err = updateRevid(&ns, vars, false) + if err != nil { + return err + } + } + for { if err := send(&ns); err != nil { config.Logger.Log(progName, "Warning", err.Error())