diff options
-rw-r--r-- | soundbox/url.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/soundbox/url.go b/soundbox/url.go index b24b05d..0e9f6b6 100644 --- a/soundbox/url.go +++ b/soundbox/url.go @@ -33,7 +33,10 @@ func StreamURLContext(ctx context.Context, url string, targets []net.HardwareAdd return err } - _ = streamContext(ctx, stdout, targets) + err = streamContext(ctx, stdout, targets) + if err != nil { + return err + } return cmd.Wait() } |