Project

General

Profile

« Previous | Next » 

Revision 813ca612

Added by Benoît PECCATTE over 7 years ago

Fixes #9196: Send inventory signature before inventory

View differences:

tools/send-clean.sh
fi
# 4 - Send the file
HTTP_CODE=$(${CURL_BINARY} --proxy '' -f -F "file=@${FILENAME}" ${SIGNATURE_OPT} -o /dev/null -w '%{http_code}' ${SERVER})
HTTP_CODE=$(${CURL_BINARY} --proxy '' -f ${SIGNATURE_OPT} -F "file=@${FILENAME}" -o /dev/null -w '%{http_code}' ${SERVER})
SEND_COMMAND_RET=$?
# 5 - Abort if sending failed

Also available in: Unified diff