From 55c28f9ce3cafffbe8d93e3432fa4d953bdcf9ac Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Tue, 20 Feb 2018 03:17:22 +0100 Subject: [PATCH] Only run pulseaudio check if binary exists. --- home/dotfiles/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dotfiles/profile b/home/dotfiles/profile index 3a344e6..d40e7a0 100644 --- a/home/dotfiles/profile +++ b/home/dotfiles/profile @@ -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."