SOURCES: munin-plugins-muninexchange-samba.patch (NEW) - don't let grep pol...

baggins baggins at pld-linux.org
Tue Dec 2 00:29:49 CET 2008


Author: baggins                      Date: Mon Dec  1 23:29:49 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't let grep pollute exit code

---- Files affected:
SOURCES:
   munin-plugins-muninexchange-samba.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/munin-plugins-muninexchange-samba.patch
diff -u /dev/null SOURCES/munin-plugins-muninexchange-samba.patch:1.1
--- /dev/null	Tue Dec  2 00:29:50 2008
+++ SOURCES/munin-plugins-muninexchange-samba.patch	Tue Dec  2 00:29:44 2008
@@ -0,0 +1,16 @@
+--- munin-plugins-muninexchange-20081128/samba/samba_users~	2008-11-30 01:58:28.000000000 +0100
++++ munin-plugins-muninexchange-20081128/samba/samba_users	2008-12-02 00:28:40.000000000 +0100
+@@ -36,3 +36,4 @@
+ 
+ echo -n "samba_users.value "
+ smbstatus -b 2> /dev/null | grep -c -v -e "^Samba" -e "^---" -e "^PID" -e ^$
++exit 0
+--- munin-plugins-muninexchange-20081128/samba/samba_locked~	2008-11-30 01:58:28.000000000 +0100
++++ munin-plugins-muninexchange-20081128/samba/samba_locked	2008-12-02 00:28:33.000000000 +0100
+@@ -36,5 +36,4 @@
+ 
+ echo -n "samba_locked.value "
+ smbstatus -L 2> /dev/null | grep -c DENY_
+-
+-
++exit 0
================================================================


More information about the pld-cvs-commit mailing list