Make inability to run liquidsoap fatal.
This commit is contained in:
parent
3df0ec2d69
commit
a5d7aacb4c
@ -67,8 +67,8 @@ func main() {
|
||||
|
||||
liquid, err := liquidsoap.NewLiquidsoap(config.Liquidsoap.ExecPath, config.Liquidsoap.ScriptPath)
|
||||
if err != nil {
|
||||
logErr.Println("liquidsoap:", err)
|
||||
liquid.Stop()
|
||||
logErr.Fatalln("liquidsoap:", err)
|
||||
}
|
||||
|
||||
if err := srv.Start(config.SplitNetworkAddress()); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user