Permalink
Browse files

I don't like to depend on the exit value of the last cmd

  • Loading branch information...
1 parent 9b5d99c commit 78134cec327ff4c94e51e096e59791ed7da572cd @steveschnepp steveschnepp committed May 10, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit 78134ce

Please sign in to comment.