Merged in raspivid-no-start-fatal (pull request #87)

revid: fatal when raspivid cannot be started

Approved-by: kortschak <dan@kortschak.io>
This commit is contained in:
Saxon Milton 2018-12-29 10:57:49 +00:00
commit ebccfa1a54
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ func (r *Revid) startRaspivid() error {
}
err = r.cmd.Start()
if err != nil {
return err
r.config.Logger.Log(smartlogger.Fatal, pkg+"cannot start raspivid", "error", err.Error())
}
r.config.Logger.Log(smartlogger.Info, pkg+"reading camera data")