Fix typo in cmd

This commit is contained in:
Torjus Håkestad 2021-09-19 05:50:26 +02:00
parent 66aea2f30b
commit 00414e100a

View File

@ -101,7 +101,7 @@ func ActionServe(c *cli.Context) error {
}() }()
// Start RTMP-server // Start RTMP-server
rtmpServer.Logger.Infow("Starting RTMP server.", "listen_addr", s.ListenAddr) rtmpServer.Logger.Infow("Starting RTMP server.", "listen_addr", rtmpServer.ListenAddr)
if err := rtmpServer.Listen(); err != nil { if err := rtmpServer.Listen(); err != nil {
return cli.Exit(err, ExitGenericError) return cli.Exit(err, ExitGenericError)
} }