[Logcheck-commits] CVS logcheck/src
CVS User maks-guest
logcheck-devel@lists.alioth.debian.org
Tue, 25 May 2004 10:40:42 -0600
Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv25289/src
Modified Files:
logcheck
Log Message:
fix multiline error checking.
--- /cvsroot/logcheck/logcheck/src/logcheck 2004/05/25 15:53:05 1.39
+++ /cvsroot/logcheck/logcheck/src/logcheck 2004/05/25 16:40:42 1.40
@@ -22,7 +22,7 @@
# along with Logcheck; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# $Id: logcheck,v 1.39 2004/05/25 15:53:05 maks-guest Exp $
+# $Id: logcheck,v 1.40 2004/05/25 16:40:42 maks-guest Exp $
# Set the umask
@@ -290,7 +290,7 @@
for file in $(ls -1 $ignore/) ; do
debug "clean logcheck-<package>: $file"
egrep --text -v -f $ignore/$file $TMPDIR/checked | cat \
- >> $TMPDIR/checked.1
+ >> $TMPDIR/checked.1 \
|| error "Could not output to $TMPDIR/checked.1"
mv $TMPDIR/checked.1 $TMPDIR/checked \
|| error "Could not move $TMPDIR/checked.1 to \