summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-25 10:39:37 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-25 10:39:52 +0200
commit5dc98070b4ff04e3d47bad475d6032a4bdb41e72 (patch)
tree138afdc6ba699bc57824d96f11f59e8bf0ac6f00 /net-dns
parentapp-backup/rsnapshot: strip rsnapshot.conf.default of a hardcoded path. (diff)
downloadgentoo-5dc98070b4ff04e3d47bad475d6032a4bdb41e72.tar.gz
gentoo-5dc98070b4ff04e3d47bad475d6032a4bdb41e72.tar.bz2
gentoo-5dc98070b4ff04e3d47bad475d6032a4bdb41e72.zip
net-dns/nsd: Minor bugfix in new init script. Revbump so users get the fix.
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-dns')
-rwxr-xr-xnet-dns/nsd/files/nsd.initd-r12
-rw-r--r--net-dns/nsd/nsd-4.1.11-r1.ebuild (renamed from net-dns/nsd/nsd-4.1.11.ebuild)0
2 files changed, 1 insertions, 1 deletions
diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
index 3f71e76b1610..ef81f9e663e1 100755
--- a/net-dns/nsd/files/nsd.initd-r1
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -42,8 +42,8 @@ configtest() {
start_pre() {
checkconfig || return $?
- checkpath --directory --owner nsd:nsd $(dirname "${pidfile}")
pidfile="$(get_pidfile)"
+ checkpath --directory --owner nsd:nsd "${pidfile%/*}" || return 1
}
stop_pre() {
diff --git a/net-dns/nsd/nsd-4.1.11.ebuild b/net-dns/nsd/nsd-4.1.11-r1.ebuild
index 3719d0f0ac27..3719d0f0ac27 100644
--- a/net-dns/nsd/nsd-4.1.11.ebuild
+++ b/net-dns/nsd/nsd-4.1.11-r1.ebuild