Browse Source

do not exit after successful stream key change (#1355)

pull/1356/head
nothub 4 years ago committed by GitHub
parent
commit
d522e41d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      main.go

3
main.go

@ -82,11 +82,10 @@ func main() { @@ -82,11 +82,10 @@ func main() {
if *newStreamKey != "" {
if err := data.SetStreamKey(*newStreamKey); err != nil {
log.Errorln("Error setting your stream key.", err)
log.Exit(1)
} else {
log.Infoln("Stream key changed to", *newStreamKey)
}
log.Exit(0)
}
// Set the web server port

Loading…
Cancel
Save