Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-05-24 12:31:49 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-05-24 12:31:49 +0300
commit748039358cbd3cdef7e500c0cfd52c2d9f70dc55 (patch)
treee80229f6923fce7e1b9d869faa240e265726bb06 /include/data_upload
parentd2c82adc988dcb45fbd3ffdbe85567888632d3e2 (diff)
Remove unneeded quote
Diffstat (limited to 'include/data_upload')
-rw-r--r--include/data_upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/data_upload b/include/data_upload
index 330c259c..d7d9b4c0 100644
--- a/include/data_upload
+++ b/include/data_upload
@@ -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