From 461bb84b624bb9a116499ef0d14810c80d072556 Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 19 Apr 2016 10:34:04 +0200 Subject: [PATCH] Use correct TEMP_FILE variable --- include/functions | 4 ++-- 1 file 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}"