From 37943d075e242293cc171728930fd5a5d74783be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 14 Aug 2018 22:28:45 +0200 Subject: [PATCH] Do not print errors on configuration failure (#1595782) --- bind.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index 398d14d..61a51b2 100644 --- a/bind.spec +++ b/bind.spec @@ -954,7 +954,7 @@ else usermod -s /bin/false named fi # Checkconf will parse out comments - if /usr/sbin/named-checkconf -p /etc/named.conf | grep -q named.iscdlv.key + if /usr/sbin/named-checkconf -p /etc/named.conf 2>/dev/null | grep -q named.iscdlv.key then echo "Replacing obsolete named.iscdlv.key with named.root.key..." if cp -af /etc/named.conf /etc/named.conf.rpmbackup; then