|
@@ -26,7 +26,7 @@ func (e *End) Success() bool {
|
|
|
//
|
|
|
// RunLiquidsoap is an async function, which provides channels as feedback and needs a channel to ask for its
|
|
|
// termination
|
|
|
-func RunLiquidsoap(configfile string, kill <-chan struct{}) (chan Output, chan End, error) {
|
|
|
+func RunLiquidsoap(configfile string, kill <-chan struct{}) (<-chan Output, <-chan End, error) {
|
|
|
out := make(chan Output)
|
|
|
exit := make(chan End, 1)
|
|
|
cmd := exec.Command("liquidsoap", "--enable-telnet", configfile)
|