Oh, liquid var is nil. We don't need to call Stop().
This commit is contained in:
parent
64eed7ac7e
commit
2c0f0ce61b
@ -69,7 +69,6 @@ func main() {
|
|||||||
if !*noLiquidsoap {
|
if !*noLiquidsoap {
|
||||||
liquid, err := liquidsoap.NewLiquidsoap(config.Liquidsoap.ExecPath, config.Liquidsoap.ScriptPath)
|
liquid, err := liquidsoap.NewLiquidsoap(config.Liquidsoap.ExecPath, config.Liquidsoap.ScriptPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
liquid.Stop()
|
|
||||||
logErr.Fatalln("liquidsoap:", err)
|
logErr.Fatalln("liquidsoap:", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user