From a5d7aacb4ca3459cce8f9fb023d22eb9355d731a Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 29 Aug 2022 19:35:11 +0400 Subject: [PATCH] Make inability to run liquidsoap fatal. --- cmd/dwelling-radio/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dwelling-radio/main.go b/cmd/dwelling-radio/main.go index 91a7de4..61f393b 100644 --- a/cmd/dwelling-radio/main.go +++ b/cmd/dwelling-radio/main.go @@ -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 {