summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2017-01-14 19:12:06 +0000
committerSven Wegener <swegener@gentoo.org>2017-01-14 19:13:52 +0000
commitcd4bfb06dafd1742b0cf435130773d59e1d2f62c (patch)
treeb539939988fe496a5333c2687988f606237cc1cd /net-dns/pdns
parentnet-dns/pdns-recursor: Replace bashisms in init script, bug #605694 (diff)
downloadgentoo-cd4bfb06dafd1742b0cf435130773d59e1d2f62c.tar.gz
gentoo-cd4bfb06dafd1742b0cf435130773d59e1d2f62c.tar.bz2
gentoo-cd4bfb06dafd1742b0cf435130773d59e1d2f62c.zip
net-dns/pdns: Replace bashisms in init script, bug #605694
Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/files/pdns6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/pdns/files/pdns b/net-dns/pdns/files/pdns
index 8ff67538ab3e..4ffa062e019b 100644
--- a/net-dns/pdns/files/pdns
+++ b/net-dns/pdns/files/pdns
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -32,13 +32,13 @@ start() {
stop() {
ebegin "Stopping PowerDNS (${PDNS_INSTANCE})"
- /usr/bin/pdns_control ${PDNS_CONFIG} quit &>/dev/null
+ /usr/bin/pdns_control ${PDNS_CONFIG} quit >/dev/null 2>&1
eend $?
}
reload() {
ebegin "Reloading PowerDNS (${PDNS_INSTANCE})"
- /usr/bin/pdns_control ${PDNS_CONFIG} cycle &>/dev/null
+ /usr/bin/pdns_control ${PDNS_CONFIG} cycle >/dev/null 2>&1
eend $?
}