[Logcheck-commits] CVS logcheck/src
CVS User maks-guest
logcheck-devel@lists.alioth.debian.org
Tue, 19 Oct 2004 09:26:13 -0600
Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv5780/src
Modified Files:
logcheck
Log Message:
fix typo, please doublecheck also the other commits.
thanks
--- /cvsroot/logcheck/logcheck/src/logcheck 2004/10/19 15:11:06 1.93
+++ /cvsroot/logcheck/logcheck/src/logcheck 2004/10/19 15:26:13 1.94
@@ -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.93 2004/10/19 15:11:06 maks-guest Exp $
+# $Id: logcheck,v 1.94 2004/10/19 15:26:13 maks-guest 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:]]s*$|^#' $dir/$rulefile | cat \
+ egrep --text -v '^[[:space:]]*$|^#' $dir/$rulefile | cat \
>> $cleaned/$rulefile \
|| error "Couldn't append to $cleaned/$rulefile. Disk Full?"
fi