aboutsummaryrefslogtreecommitdiff
path: root/mpd
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-27 00:15:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-27 00:15:38 +1200
commit7061c9394180c556aab154ad876f4acc81d60236 (patch)
tree3e15a5cdd8a957658d00e0d0ad028f6e21b3512b /mpd
parentRevert "Allow MYSQL_* my.cnf vars" (diff)
downloaddotfiles-7061c9394180c556aab154ad876f4acc81d60236.tar.gz
dotfiles-7061c9394180c556aab154ad876f4acc81d60236.zip
Add missing -v to `command` call
This was causing a new mpd process on each login.
Diffstat (limited to 'mpd')
-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