From 78134cec327ff4c94e51e096e59791ed7da572cd Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Thu, 10 May 2012 12:24:51 +0300 Subject: [PATCH] I don't like to depend on the exit value of the last cmd --- plugins/samba/samba_locked | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/samba/samba_locked b/plugins/samba/samba_locked index 4c1df75e..c9958c3b 100755 --- a/plugins/samba/samba_locked +++ b/plugins/samba/samba_locked @@ -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