[Logcheck-commits] CVS logcheck/src

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Wed, 19 May 2004 04:10:36 -0600


Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv21008/src

Modified Files:
	logcheck 
Log Message:

this file should be created anyhow,
left comment for further checks.


--- /cvsroot/logcheck/logcheck/src/logcheck	2004/05/19 08:23:45	1.33
+++ /cvsroot/logcheck/logcheck/src/logcheck	2004/05/19 10:10:36	1.34
@@ -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.33 2004/05/19 08:23:45 maks-guest Exp $
+# $Id: logcheck,v 1.34 2004/05/19 10:10:36 maks-guest Exp $
 
 
 # Set the umask
@@ -268,6 +268,9 @@
 
 	egrep --text -f $raise/$grepfile $TMPDIR/logoutput-sorted \
 	    > $TMPDIR/checked 
+	if [ ! -f $TMPDIR/checked ]; then
+	    error "Could not output to $TMPDIR/checked.  Disk Full?"
+	fi
 #	    || error "Could not output to $TMPDIR/checked.  Disk Full?"
 
 	if [ -s $TMPDIR/checked ]; then