From f35aed6ae6d76bb9744422bdb4d2c9561582ec07 Mon Sep 17 00:00:00 2001 From: Lukas Schauer Date: Mon, 18 Dec 2017 00:01:47 +0100 Subject: [PATCH] replace backticks with escaped dollarbracethingy (fixes #438) --- dehydrated | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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