summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd/files/mpd2.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-sound/mpd/files/mpd2.init b/media-sound/mpd/files/mpd2.init
index d8b9de8938ab..7e6e23979995 100644
--- a/media-sound/mpd/files/mpd2.init
+++ b/media-sound/mpd/files/mpd2.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,7 +14,7 @@ checkconfig() {
return 1
fi
- if ! grep -q ^pid_file /etc/mpd.conf; then
+ if ! grep -q '^\s*pid_file' /etc/mpd.conf; then
eerror "Invalid configuration: pid_file needs to be set."
return 1
fi