replace backticks with escaped dollarbracethingy (fixes #438)

This commit is contained in:
Lukas Schauer
2017-12-18 00:01:47 +01:00
parent b6b56d0df7
commit f35aed6ae6

View File

@@ -426,7 +426,7 @@ http_request() {
# An exclusive hook for the {1}-request error might be useful (e.g., for sending an e-mail to admins)
if [[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]]; then
errtxt=`cat ${tempcont}`
errtxt="$(cat ${tempcont})"
"${HOOK}" "request_failure" "${statuscode}" "${errtxt}" "${1}"
fi