mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
I don't like to depend on the exit value of the last cmd
This commit is contained in:
parent
9b5d99cb6b
commit
78134cec32
@ -35,3 +35,6 @@ if [ "$1" = "config" ]; then
|
||||
fi
|
||||
|
||||
echo "samba_locked.value $(smbstatus -L 2> /dev/null | grep -c DENY_)"
|
||||
|
||||
# If here, always return OK
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user