From ded639753190a409a10b2038b8f3b1f9e7a1d79d Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sat, 14 Jan 2017 19:11:32 +0000 Subject: [PATCH] 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 f114d5be4a2d..8300b708fd92 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 $? } -- 2.26.2