Only run pulseaudio check if binary exists.
parent
0faacb3e0e
commit
55c28f9ce3
|
@ -244,7 +244,7 @@ section_end
|
|||
|
||||
# pulseaudio
|
||||
section "pulseaudio"
|
||||
if pulseaudio --check; then
|
||||
if has_binary pulseaudio && pulseaudio --check; then
|
||||
log "PulseAudio is active."
|
||||
else
|
||||
log "PulseAudio is inactive."
|
||||
|
|
Loading…
Reference in New Issue