mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 13:54:35 +02:00
Set correct variable for data upload mode
This commit is contained in:
parent
a19a34cbf3
commit
1c59bfd6f1
@ -357,8 +357,8 @@
|
|||||||
# Colored output
|
# Colored output
|
||||||
upload)
|
upload)
|
||||||
SETTING_UPLOAD=no # default
|
SETTING_UPLOAD=no # default
|
||||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && COLORS=0
|
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && DATA_UPLOAD=1
|
||||||
if [ ! -z "${FIND}" ]; then SETTING_UPLOAD=1; UPLOAD_DATA=1; fi
|
if [ ! -z "${FIND}" ]; then SETTING_UPLOAD=1; fi
|
||||||
Debug "Upload set to ${SETTING_UPLOAD}"
|
Debug "Upload set to ${SETTING_UPLOAD}"
|
||||||
AddSetting "upload" "${SETTING_UPLOAD}" "Data upload after scanning"
|
AddSetting "upload" "${SETTING_UPLOAD}" "Data upload after scanning"
|
||||||
unset SETTING_UPLOAD
|
unset SETTING_UPLOAD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user