1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00: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_)"