mirror of https://github.com/CISOfy/lynis.git
Remove unneeded quote
This commit is contained in:
parent
d2c82adc98
commit
748039358c
|
@ -193,7 +193,7 @@
|
|||
# Try to connect
|
||||
Output "Uploading data.."
|
||||
LogText "Command used: ${CURLBINARY}${CURL_OPTIONS} -s -S --data-urlencode \"data@${REPORTFILE}\" --data-urlencode \"licensekey=${LICENSE_KEY}\" --data-urlencode \"hostid=${HOSTID}\" ${UPLOAD_URL}"
|
||||
UPLOAD=$(${CURLBINARY}${CURL_OPTIONS} -s -S --data-urlencode "data@${REPORTFILE}" --data-urlencode "licensekey=${LICENSE_KEY}" --data-urlencode "hostid=${HOSTID}"" --data-urlencode "hostid2=${HOSTID2}" ${UPLOAD_URL} 2> /dev/null)
|
||||
UPLOAD=$(${CURLBINARY}${CURL_OPTIONS} -s -S --data-urlencode "data@${REPORTFILE}" --data-urlencode "licensekey=${LICENSE_KEY}" --data-urlencode "hostid=${HOSTID}" --data-urlencode "hostid2=${HOSTID2}" ${UPLOAD_URL} 2> /dev/null)
|
||||
EXITCODE=$?
|
||||
LogText "Exit code: ${EXITCODE}"
|
||||
if [ ${EXITCODE} -gt 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue