fix pipewire not properly checking if exists

This commit is contained in:
LeonardoTrapani
2025-09-07 23:08:58 +02:00
parent 91adc88229
commit 404f1d32ef
+1 -1
View File
@@ -215,7 +215,7 @@ func CheckPipeWireAvailable(ctx context.Context) error {
// Use a short timeout to avoid hangs on misconfigured systems.
checkCtx, cancel := context.WithTimeout(ctx, 2*time.Second)
defer cancel()
cmd := exec.CommandContext(checkCtx, "pw-cli", "info")
cmd := exec.CommandContext(checkCtx, "pw-cli", "info", "all")
if err := cmd.Run(); err != nil {
return fmt.Errorf("PipeWire not running or accessible: %w", err)
}