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

Use $() shell escape instead of backticks.

This commit is contained in:
Steve Schnepp 2012-05-10 12:23:43 +03:00
parent fa9ec59eda
commit 9b5d99cb6b

View File

@ -34,4 +34,4 @@ if [ "$1" = "config" ]; then
exit 0
fi
echo "samba_locked.value `smbstatus -L 2> /dev/null | grep -c DENY_`"
echo "samba_locked.value $(smbstatus -L 2> /dev/null | grep -c DENY_)"