[Logcheck-commits] CVS logcheck/src
CVS User maks-guest
logcheck-devel@lists.alioth.debian.org
Sun, 19 Sep 2004 03:18:10 -0600
Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv16222/src
Modified Files:
logcheck
Log Message:
removed bogus error, would fail for new logfiles where no offset file exists.
left the check to see if we have permissions to read the offset files.
--- /cvsroot/logcheck/logcheck/src/logcheck 2004/09/19 09:01:34 1.80
+++ /cvsroot/logcheck/logcheck/src/logcheck 2004/09/19 09:18:09 1.81
@@ -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.80 2004/09/19 09:01:34 maks-guest Exp $
+# $Id: logcheck,v 1.81 2004/09/19 09:18:09 maks-guest Exp $
if [ $UID == 0 ]; then
echo "logcheck should not be run as root. Use su to invoke logcheck:"
@@ -400,8 +400,6 @@
|| error "Could not remove $offsetfile"
fi
fi
- else
- error "Could not read $offsetfile"
fi
debug "Running logtail: $file"
$LOGTAIL -f $file -o $offsetfile $LOGTAIL_OPTS \