Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-04-19 11:34:04 +0300
committermboelen <michael@cisofy.com>2016-04-19 11:34:04 +0300
commit461bb84b624bb9a116499ef0d14810c80d072556 (patch)
tree59246e84edc1346ef535ea3f77fde66ad3652a90
parent41589b14c26a9fb2a9e84de7e343582184c033bb (diff)
Use correct TEMP_FILE variable
-rw-r--r--include/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index 799bbd5f..e07fb61f 100644
--- a/include/functions
+++ b/include/functions
@@ -360,12 +360,12 @@
################################################################################
# Name : CreateTempFile
# Description : Creates a temporary file
- # Returns : TEMPFILE
+ # Returns : TEMP_FILE
################################################################################
CreateTempFile()
{
- TEMPFILE=""
+ TEMP_FILE=""
if [ "${OS}" = "AIX" ]; then
RANDOMSTRING1=`echo lynis-$(od -N4 -tu /dev/random | awk 'NR==1 {print $2} {}')`
TEMP_FILE="/tmp/${RANDOMSTRING1}"