Bug#252966: [Logcheck-devel] Bug#252966: Debug mode

maks attems debian at sternwelten.at
Mon Jun 7 16:41:45 UTC 2004


On Mon, 07 Jun 2004, maks attems wrote:

> please double check if attached patch from logcheck cvs
> cures the problem. 

sorry but first patch was bogus, the attached should be better,
packages already updated.

a++ maks

-------------- next part --------------
Index: src/logcheck
===================================================================
RCS file: /cvsroot/logcheck/logcheck/src/logcheck,v
retrieving revision 1.52
retrieving revision 1.56
diff -u -r1.52 -r1.56
--- src/logcheck	5 Jun 2004 16:54:09 -0000	1.52
+++ src/logcheck	7 Jun 2004 16:09:51 -0000	1.56
@@ -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.52 2004/06/05 16:54:09 maks-guest Exp $
+# $Id: logcheck,v 1.56 2004/06/07 16:09:51 maks-guest Exp $
 
 
 # Set the umask
@@ -304,7 +304,9 @@
 		# Remove any  entries already reported
 		for file in $(ls $raise/ | grep -v '^logcheck') ; do
 		    debug "Cleaning logcheck: $file"
-	            cleanchecked "$ignore/$file"
+		    if [ -f "$ignore/$file" ]; then
+	                cleanchecked "$ignore/$file"
+		    fi
 		done
 	    fi
 
@@ -358,7 +360,7 @@
 	        || error "Could not move $TMPDIR/checked.1 to $TMPDIR/checked"
 	done
     else
-	error "cleanchecked: Not a file or a directory"
+	error "cleanchecked: Not a file or a directory $clean"
     fi
 }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040607/8a4e7f11/attachment.pgp 


More information about the Logcheck-devel mailing list