net-dns/nsd: Minor bugfix in new init script. Revbump so users get the fix.
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 25 Aug 2016 08:39:37 +0000 (10:39 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 25 Aug 2016 08:39:52 +0000 (10:39 +0200)
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-dns/nsd/files/nsd.initd-r1
net-dns/nsd/nsd-4.1.11-r1.ebuild [moved from net-dns/nsd/nsd-4.1.11.ebuild with 100% similarity]

index 3f71e76b1610a36a90eaae308d092d13133ce6f1..ef81f9e663e19809ba5ccbee554c7da07f9b1927 100755 (executable)
@@ -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() {