mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-19 01:47:11 +01:00
replace backticks with escaped dollarbracethingy (fixes #438)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user