net-dns/nsd: Another bugfix in new init script.
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 26 Aug 2016 07:32:36 +0000 (09:32 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 26 Aug 2016 07:32:48 +0000 (09:32 +0200)
Revbump so users get the fix.

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-r2.ebuild [moved from net-dns/nsd/nsd-4.1.11-r1.ebuild with 100% similarity]

index ef81f9e663e19809ba5ccbee554c7da07f9b1927..a503b848e1f445477e709e25eec1b21e40a2a39c 100755 (executable)
@@ -52,6 +52,8 @@ stop_pre() {
 }
 
 reload() {
+       checkconfig || return $?
+       pidfile="$(get_pidfile)"
        ebegin "Reloading config and zone files"
        kill -s HUP $(cat ${pidfile})
        eend $?