mirror of https://github.com/CISOfy/lynis.git
Added space when upload options are used
This commit is contained in:
parent
54ab91f87e
commit
a67a8f89bc
|
@ -22,17 +22,13 @@
|
||||||
PROGRAM_VERSION="101"
|
PROGRAM_VERSION="101"
|
||||||
|
|
||||||
# Data upload destination
|
# Data upload destination
|
||||||
if [ "${UPLOAD_SERVER}" = "" ]; then
|
if [ "${UPLOAD_SERVER}" = "" ]; then; UPLOAD_SERVER="portal.cisofy.com"; fi
|
||||||
UPLOAD_SERVER="cisofy.com"
|
|
||||||
fi
|
|
||||||
UPLOAD_URL="https://${UPLOAD_SERVER}/upload/"
|
UPLOAD_URL="https://${UPLOAD_SERVER}/upload/"
|
||||||
LogText "Upload server: ${UPLOAD_SERVER}"
|
LogText "Upload server: ${UPLOAD_SERVER}"
|
||||||
LogText "URL to upload to: ${UPLOAD_URL}"
|
LogText "URL to upload to: ${UPLOAD_URL}"
|
||||||
|
|
||||||
# License server (set to upload server if not configured)
|
# License server (set to upload server if not configured)
|
||||||
if [ "${LICENSE_SERVER}" = "" ]; then
|
if [ "${LICENSE_SERVER}" = "" ]; then LICENSE_SERVER="${UPLOAD_SERVER}"; fi
|
||||||
LICENSE_SERVER="${UPLOAD_SERVER}"
|
|
||||||
fi
|
|
||||||
LICENSE_SERVER_URL="https://${LICENSE_SERVER}/license/"
|
LICENSE_SERVER_URL="https://${LICENSE_SERVER}/license/"
|
||||||
LogText "License server: ${LICENSE_SERVER}"
|
LogText "License server: ${LICENSE_SERVER}"
|
||||||
|
|
||||||
|
@ -40,7 +36,7 @@ PROGRAM_VERSION="101"
|
||||||
if [ "${UPLOAD_OPTIONS}" = "" ]; then
|
if [ "${UPLOAD_OPTIONS}" = "" ]; then
|
||||||
CURL_OPTIONS=""
|
CURL_OPTIONS=""
|
||||||
else
|
else
|
||||||
CURL_OPTIONS="${UPLOAD_OPTIONS}"
|
CURL_OPTIONS=" ${UPLOAD_OPTIONS}"
|
||||||
fi
|
fi
|
||||||
SETTINGS_FILE="${PROFILE}"
|
SETTINGS_FILE="${PROFILE}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue