Bug#302689: [Logcheck-devel] Bug#302689: treats non-zero egrep exit status as failure
maximilian attems
debian at sternwelten.at
Sat Apr 2 19:42:20 UTC 2005
severity 302689 serious
thanks
On Sat, 02 Apr 2005, Marcin Owsiany wrote:
> Tags: patch
>
> "debdiff logcheck_1.2.35.dsc logcheck_1.2.36.dsc" shows this among other
> changes:
>
> - egrep --text -v -f $clean/$file $TMPDIR/checked | cat \
> - >> $TMPDIR/checked.1 \
> - || error "Could not output to TMPDIR/checked.1 Disk Full?"
> + (egrep --text -v -f $clean/$file $TMPDIR/checked \
> + || warn "Could not process file $file") | cat \
> + >> $TMPDIR/checked.1 \
> + || error "Could not output to $TMPDIR/checked.1 Disk Full?"
>
> However this causes spurious reports looking like this:
urrgs thanks for your report,
pumping up the severity to keep that version out of sarge.
thanks Matthew for your patch, will add it to cvs and retest.
--
maks
More information about the Logcheck-devel
mailing list