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

Update plugins/samba/samba_locked

Two-lines syntax for last "echo" not working on Debian Squeeze
Error : 2012/05/09-14:55:05 [15253] Service 'samba_locked' exited with status 1/0.
This commit is contained in:
dam09fr 2012-05-09 17:00:16 +03:00
parent 4e02c30363
commit 63dbd27a27

View File

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