Skip to content

Commit

Permalink
fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Sep 7, 2021
1 parent 0fb3e8f commit 7795bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (m *ManagerCtx) Start() error {
m.cmd = m.cmdFactory()
m.cmd.Dir = m.tempdir

if m.events.onStart != nil {
if m.events.onCmdLog != nil {
m.cmd.Stderr = utils.LogEvent(m.events.onCmdLog)
} else {
m.cmd.Stderr = utils.LogWriter(m.logger)
Expand Down

0 comments on commit 7795bb1

Please sign in to comment.