2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Plugin zapchans: fix shellcheck issue

This commit is contained in:
Lars Kruse 2018-08-01 23:25:07 +02:00
parent 2f5a2a7913
commit 1ed78789c1

View File

@ -47,6 +47,6 @@ fi
# cron, and dumps its output to a separate file for this plugin to read later on. Letting
# Munin plugins run as root is a security hole.
zap=`asterisk -rx 'zap show channels' |grep -v "[[:digit:]]*[[:space:]] local" |grep -vc "Chan Extension"`
zap=$(asterisk -rx 'zap show channels' |grep -v "[[:digit:]]*[[:space:]] local" |grep -vc "Chan Extension")
echo "calls.value $zap"