[Logcheck-devel] Bug#441388: There is a problem with hardcoded .gz extension as well

Michał Jęczalik michal at jeczalik.com
Mon Sep 10 07:49:10 UTC 2007


Here:

   if (-e "$filename.0" && (mtime("$filename.0") > 
mtime("$filename.1.gz")) ) {

And then, if you i.e. use bzip2 or no compression at all, the whole 
logtail2 exits due to exit() in mtime(), because it cannot stat an 
unexisting file.






More information about the Logcheck-devel mailing list