[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/src
maks attems
debian at sternwelten.at
Wed May 19 08:45:18 UTC 2004
On Wed, 19 May 2004, Todd Troxell wrote:
> enabled!
cool :)
> The problem is, we get the same exit status when grep either:
> -cannot append to the file
> -does not find any matches
>
> (It's 1 both times) The problem is that the error is not a grep error and
> comes from the shell (>>), so grep doesn't know.
you are right, just tested:
baikonur:~ egrep TODO secret/whativedone >> /tmp/blaa
grep: write error: No space left on device
baikonur:~ echo $?
1
> I know of ways to do this, but they are not pretty :\
seems so :(
a++ maks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040519/099611b7/attachment.pgp
More information about the Logcheck-devel
mailing list