[Logcheck-commits] CVS logcheck/src

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Tue, 20 Jul 2004 02:16:49 -0600


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

Modified Files:
	logcheck 
Log Message:

mktemp(1) template only needs 6 'X', there were 8.


--- /cvsroot/logcheck/logcheck/src/logcheck	2004/07/20 08:12:32	1.67
+++ /cvsroot/logcheck/logcheck/src/logcheck	2004/07/20 08:16:49	1.68
@@ -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.67 2004/07/20 08:12:32 maks-guest Exp $
+# $Id: logcheck,v 1.68 2004/07/20 08:16:49 maks-guest Exp $
 
 
 # Set the umask
@@ -566,8 +566,8 @@
 fi
 
 # Create the secure temporary directory or exit
-TMPDIR=$(mktemp -d -p /tmp logcheck.XXXXXXXX) \
-    || TMPDIR=$(mktemp -d -p /var/tmp logcheck.XXXXXXXX) \
+TMPDIR=$(mktemp -d -p /tmp logcheck.XXXXXX) \
+    || TMPDIR=$(mktemp -d -p /var/tmp logcheck.XXXXXX) \
     || error "Could not create temporary directory"
 
 # Now clean the rulefiles in the directories