From 7061c9394180c556aab154ad876f4acc81d60236 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 27 Jun 2017 00:15:38 +1200 Subject: Add missing -v to `command` call This was causing a new mpd process on each login. --- mpd/profile.d/mpd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpd') 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 -- cgit v1.2.3