[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/src
maks attems
debian at sternwelten.at
Fri Nov 5 17:28:04 UTC 2004
On Fri, 05 Nov 2004, CVS User alfie wrote:
> +++ /cvsroot/logcheck/logcheck/src/logcheck 2004/11/05 11:10:58 1.98
> @@ -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.97 2004/11/03 21:55:43 maks-guest Exp $
> +# $Id: logcheck,v 1.98 2004/11/05 11:10:58 alfie Exp $
>
> if [ $UID == 0 ]; then
> echo "logcheck should not be run as root. Use su to invoke logcheck:"
> @@ -188,7 +188,7 @@
> if [ -f ${dir}/${rulefile} ]; then
> debug "cleanrules: ${dir}/${rulefile}"
> # pipe to cat on greps to get usable exit status
> - egrep --text -v '^[[:space:]]\+$|^#' $dir/$rulefile | cat \
> + egrep --text -v '^[[:space:]]*$|^#' $dir/$rulefile | cat \
zut (angry to myself that i didn't catch that)
thanks to jim for finding it and alfie for resolving,
maybe that bug is even critical.
a++ maks
More information about the Logcheck-devel
mailing list