1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

shellcheck fixes for pdns-recursor plugins.

This commit is contained in:
Bas Couwenberg 2017-09-29 09:34:25 +02:00
parent 9aa6d7e977
commit f9426daca5
10 changed files with 27 additions and 27 deletions

View file

@ -19,7 +19,7 @@ if [ "$1" = "autoconf" ]; then
fi
fi
RESENDS=`rec_control get cache-resends`
RESENDS="$(rec_control get cache-resends)"
ISRESENDS=""
[ "$RESENDS" != "UNKNOWN" ] && ISRESENDS="resends"
@ -53,8 +53,8 @@ if [ "$1" = "config" ]; then
exit 0
fi
echo hits.value `rec_control get cache-hits`
echo misses.value `rec_control get cache-misses`
[ "$RESENDS" != "UNKNOWN" ] && echo resends.value `rec_control get cache-resends`
echo hits.value "$(rec_control get cache-hits)"
echo misses.value "$(rec_control get cache-misses)"
[ "$RESENDS" != "UNKNOWN" ] && echo resends.value "$(rec_control get cache-resends)"
exit 0