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:
authorMichael Boelen <michael.boelen@cisofy.com>2017-02-21 17:40:49 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-02-21 17:40:49 +0300
commit1c59bfd6f196cd28487587cfb33fdca42f89e8a4 (patch)
tree25e18a1a6d1a1051da6711febe3fa17f18795055 /include/profiles
parenta19a34cbf3e5126c6ebb92715aaa46d13a8419ad (diff)
Set correct variable for data upload mode
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/profiles b/include/profiles
index 60d90220..1916cf1d 100644
--- a/include/profiles
+++ b/include/profiles
@@ -357,8 +357,8 @@
# Colored output
upload)
SETTING_UPLOAD=no # default
- FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && COLORS=0
- if [ ! -z "${FIND}" ]; then SETTING_UPLOAD=1; UPLOAD_DATA=1; fi
+ FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && DATA_UPLOAD=1
+ if [ ! -z "${FIND}" ]; then SETTING_UPLOAD=1; fi
Debug "Upload set to ${SETTING_UPLOAD}"
AddSetting "upload" "${SETTING_UPLOAD}" "Data upload after scanning"
unset SETTING_UPLOAD