]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
contrib/unbound_munin_: minor cleanup to remove two leftovers 440/head
authorKim B. Heino <b@bbbs.net>
Sat, 12 Jun 2021 19:37:33 +0000 (22:37 +0300)
committerKim B. Heino <b@bbbs.net>
Sat, 12 Jun 2021 19:37:33 +0000 (22:37 +0300)
contrib/unbound_munin_

index 82e6d152293d1fd5dad806c48cdd9c0685fa69f3..5037527580e23205b523aec9243e781c5787bbcf 100755 (executable)
@@ -95,7 +95,6 @@ BSD
 
 =cut
 
-. ${MUNIN_LIBDIR}/plugins/plugin.sh
 state="${MUNIN_PLUGSTATE}/unbound.state"
 seentags="${MUNIN_PLUGSTATE}/unbound-seentags.state"
 conf=${unbound_conf:-/usr/local/etc/unbound/unbound.conf}
@@ -491,7 +490,7 @@ by_opcode)
        ;;
 by_rcode)
        for nm in `grep "^num.answer.rcode" $seentags`; do
-               print_value $nm $x
+               print_value $nm
        done
        print_value "num.answer.secure"
        print_value "num.answer.bogus"