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