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:
Diffstat (limited to 'include/helper_audit_dockerfile')
-rw-r--r--include/helper_audit_dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/helper_audit_dockerfile b/include/helper_audit_dockerfile
index 13174e40..31390c25 100644
--- a/include/helper_audit_dockerfile
+++ b/include/helper_audit_dockerfile
@@ -8,7 +8,8 @@ if [ $# -eq 0 ]; then
else
FILE=`echo $1 | egrep "^http|https"`
if [ ! "${FILE}" = "" ] ; then
- TMP_FILE=`mktemp /tmp/audit.XXXXXXXX`
+ CreateTempFile
+ TMP_FILE="${TEMP_FILE}"
Display --indent 2 --text "Downloading URL ${FILE} with wget"
wget -o ${TMP_FILE} ${FILE}
if [ $? -gt 0 ]; then