mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-22 21:34:38 +02:00
Corrected variable for data uploads
This commit is contained in:
parent
b95019da03
commit
5668f7bed1
@ -357,7 +357,7 @@
|
||||
# Colored output
|
||||
upload)
|
||||
SETTING_UPLOAD=no # default
|
||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && DATA_UPLOAD=1
|
||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && UPLOAD_DATA=1
|
||||
if [ ! -z "${FIND}" ]; then SETTING_UPLOAD=1; fi
|
||||
Debug "Upload set to ${SETTING_UPLOAD}"
|
||||
AddSetting "upload" "${SETTING_UPLOAD}" "Data upload after scanning"
|
||||
|
Loading…
x
Reference in New Issue
Block a user