projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15db6e8
)
media-sound/mpd: Fix pid_file presence check in init file
author
Nado
<nado@troglodyte.be>
Thu, 17 Nov 2016 14:08:08 +0000
(15:08 +0100)
committer
Robin H. Johnson
<robbat2@gentoo.org>
Fri, 17 Feb 2017 00:50:02 +0000
(16:50 -0800)
Package-Manager: portage-2.3.2
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
media-sound/mpd/files/mpd2.init
patch
|
blob
|
history
diff --git
a/media-sound/mpd/files/mpd2.init
b/media-sound/mpd/files/mpd2.init
index d8b9de8938ab4272f637311f77668c4357d7c4eb..7e6e23979995a5affb29d124bee72d547277e54c 100644
(file)
--- a/
media-sound/mpd/files/mpd2.init
+++ b/
media-sound/mpd/files/mpd2.init
@@
-1,5
+1,5
@@
#!/sbin/openrc-run
-# Copyright 1999-201
4
Gentoo Foundation
+# Copyright 1999-201
6
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