summaryrefslogtreecommitdiff
blob: ab0ec495cc7ab801c33de88a2c4c00fd44e5e37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter
--- rkhunter.orig/files/rkhunter	2005-02-21 23:22:16.277815344 -0500
+++ rkhunter/files/rkhunter	2005-02-21 23:25:43.586299664 -0500
@@ -2072,8 +2072,8 @@
 	  then
 	    logtext "Info: using ${TMPDIR} as temporary directory"
 	  else
-	    logtext "Fatal: temporary directory ${TMPDIR} doesn't exist." >> ${DEBUGFILE}
-	    exit 1
+	    logtext "Info: ${TMPDIR} not present.  Creating it." >> ${DEBUGFILE}
+	    mkdir -p ${TMPDIR}
 	fi
 
 	if [ `${BINPREFIX}id -u` = "0" ]