Corrected variable for data uploads

This commit is contained in:
Michael Boelen 2017-02-28 20:17:49 +01:00
parent b95019da03
commit 5668f7bed1
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@
# Colored output # Colored output
upload) upload)
SETTING_UPLOAD=no # default 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 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"