From: Lukas Schauer Date: Sun, 17 Dec 2017 23:01:47 +0000 (+0100) Subject: replace backticks with escaped dollarbracethingy (fixes #438) X-Git-Tag: v0.5.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35aed6ae6d76bb9744422bdb4d2c9561582ec07;p=thirdparty%2Fdehydrated.git replace backticks with escaped dollarbracethingy (fixes #438) --- diff --git a/dehydrated b/dehydrated index 10a5290..fda2072 100755 --- a/dehydrated +++ b/dehydrated @@ -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