mirror of https://bitbucket.org/ausocean/av.git
rv: improved shutdown check
This commit is contained in:
parent
395d5a21f1
commit
85b760ba55
|
@ -219,6 +219,8 @@ func run(rv *revid.Revid, ns *netsender.Sender, l *logger.Logger, nl *netlogger.
|
|||
if err != nil {
|
||||
l.Log(logger.Error, "could not power off", "error", err)
|
||||
}
|
||||
} else if _, ok := vars["Off"]; !ok {
|
||||
l.Log(logger.Info, "Off variable has not been found")
|
||||
}
|
||||
|
||||
// Configure revid based on the vars.
|
||||
|
|
Loading…
Reference in New Issue