fix typo in error string

This commit is contained in:
Simon Ruderich
2015-12-05 18:17:33 +01:00
parent 730930a153
commit 1cd81e9f03

View File

@@ -50,7 +50,7 @@ _request() {
curl -sSf "${2}" -d "${3}" 2>"${temperr}"
fi
if [ -s "${temperr}" ]; then
echo " + ERROR: An error occured while sending ${1}-request to ${2} ($(<"${temperr}"))" >&2
echo " + ERROR: An error occurred while sending ${1}-request to ${2} ($(<"${temperr}"))" >&2
rm -f "${temperr}"
exit 1
fi