aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpd/profile.d/mpd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd/profile.d/mpd.sh b/mpd/profile.d/mpd.sh
index daa55af6..5a14aef2 100644
--- a/mpd/profile.d/mpd.sh
+++ b/mpd/profile.d/mpd.sh
@@ -1,3 +1,3 @@
# Start an mpd process if one isn't already running
-command mpd >/dev/null 2>&1 || return
+command -v mpd >/dev/null 2>&1 || return
[ -s "$HOME"/.mpd/pid ] || mpd