mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
I don't like to depend on the exit value of the last cmd
This commit is contained in:
parent
9b5d99cb6b
commit
78134cec32
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue