do not exit after successful stream key change (#1355)
This commit is contained in:
parent
15238bf9de
commit
d522e41d5c
3
main.go
3
main.go
@ -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…
Reference in New Issue
Block a user