[slbackup-commit] CVS update: slbackup/contrib munin-plugin
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Fri Jan 26 08:26:02 CET 2007
User: finnarne-guest
Date: 07/01/26 08:26:02
Modified: contrib munin-plugin
Log:
tail +<number> is now depreceated, use tail -n +<number> instead
Revision Changes Path
1.5 +3 -3 slbackup/contrib/munin-plugin
Index: munin-plugin
===================================================================
RCS file: /cvsroot/slbackup/slbackup/contrib/munin-plugin,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- munin-plugin 3 Feb 2006 22:56:24 -0000 1.4
+++ munin-plugin 26 Jan 2007 07:26:01 -0000 1.5
@@ -39,10 +39,10 @@
# count failed and successfull backups during last backup
if [ "$LAST" ] ; then
echo -n "failed.value "
- $CAT $LOGNAME | tail +$LAST | \
+ $CAT $LOGNAME | tail -n +$LAST | \
grep "Failed backing up client" | wc -l
echo -n "success.value "
- $CAT $LOGNAME | tail +$LAST | \
+ $CAT $LOGNAME | tail -n +$LAST | \
grep "Successfully finished backing up client" | wc -l
else
# or trigger an error if last backup is not found
More information about the slbackup-commit
mailing list