mirror of https://bitbucket.org/ausocean/av.git
Start revid if !paused.
This commit is contained in:
parent
0daaf89154
commit
796aaa9d95
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue