From 076041fa767b18cc7023a0e1b1cd64ea8fa53eb0 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 28 Jun 2003 19:47:07 +0000 Subject: Be more sloppy when ignoring ModLogAn errors. --- localwebstats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localwebstats b/localwebstats index b46c37b..823579a 100755 --- a/localwebstats +++ b/localwebstats @@ -3,7 +3,7 @@ # /usr/local/sbin/localwebstats # Copyright 2001-2002 Jonas Smedegaard # -# $Id: localwebstats,v 1.29 2003-06-28 19:32:54 jonas Exp $ +# $Id: localwebstats,v 1.30 2003-06-28 19:47:07 jonas Exp $ # # Webstats maintenance script # @@ -166,7 +166,7 @@ for WEBSITE in $WEBSITES; do RMAGIC_OPTIONS="" WEBALIZER_OPTIONS="-c /etc/webalizer.conf -c $WEBALIZER_CFG -o $STATSDIR/webalizer -f" MODLOGAN_OPTIONS="-c $MODLOGAN_CFG" - MODLOGAN_TAIL="2>&1 | egrep -v '^(modlogan [\.0-9]+|main\.c\.658 \(main\): startup - finished|[\. \[\]]*[0-9]*|.+: No such file or directory, first run \?)$' || true if [ $? \< 2 ]" + MODLOGAN_TAIL="2>&1 | egrep -v '^(modlogan [\.0-9]+|main\.c\.[0-9]+ \(main\): startup - finished|[\. \[\]]*[0-9]*|.+: No such file or directory, first run \?)$' || true if [ $? \< 2 ]" AWSTATS_OPTIONS="-update" FQDN_ESC=`echo "$HOST.$DOMAIN" | sed -e 's/\./\\\./g'` # needed for awstats config -- cgit v1.2.3