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:
parent
9aa6d7e977
commit
f9426daca5
10 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue