1
0
Fork 0
forked from External/mediamtx

fix crash when configuration is invalid (#160)

This commit is contained in:
aler9 2020-12-19 20:03:28 +01:00
parent 95559faeb9
commit 98a443d22d

View file

@ -67,7 +67,7 @@ func newProgram(args []string) (*program, bool) {
var err error
p.conf, p.confFound, err = conf.Load(p.confPath)
if err != nil {
p.Log(logger.Info, "ERR: %s", err)
fmt.Printf("ERR: %s\n", err)
return nil, false
}