diff options
author | mboelen <michael@cisofy.com> | 2016-04-19 11:34:04 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-04-19 11:34:04 +0300 |
commit | 461bb84b624bb9a116499ef0d14810c80d072556 (patch) | |
tree | 59246e84edc1346ef535ea3f77fde66ad3652a90 | |
parent | 41589b14c26a9fb2a9e84de7e343582184c033bb (diff) |
Use correct TEMP_FILE variable
-rw-r--r-- | include/functions | 4 |
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}" |