commit:     ded639753190a409a10b2038b8f3b1f9e7a1d79d
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 19:11:32 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 19:13:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded63975

net-dns/pdns-recursor: Replace bashisms in init script, bug #605694

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 net-dns/pdns-recursor/files/pdns-recursor | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-dns/pdns-recursor/files/pdns-recursor 
b/net-dns/pdns-recursor/files/pdns-recursor
index f114d5b..8300b70 100644
--- a/net-dns/pdns-recursor/files/pdns-recursor
+++ b/net-dns/pdns-recursor/files/pdns-recursor
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,18 +11,18 @@ depend() {
 
 start() {
        ebegin "Starting PowerDNS Recursor"
-       /usr/sbin/pdns_recursor --daemon=yes &>/dev/null
+       /usr/sbin/pdns_recursor --daemon=yes >/dev/null 2>&1
        eend $?
 }
 
 stop() {
        ebegin "Stopping PowerDNS Recursor"
-       /usr/bin/rec_control quit &>/dev/null
+       /usr/bin/rec_control quit >/dev/null 2>&1
        eend $?
 }
 
 ping() {
        ebegin "Pinging PowerDNS Recursor"
-       /usr/bin/rec_control ping &>/dev/null
+       /usr/bin/rec_control ping >/dev/null 2>&1
        eend $?
 }

Reply via email to