From 81eecedc5af058dc69b14331088aa2f69c60c554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Kovac?= Date: Fri, 6 Jan 2017 00:18:57 +0100 Subject: [PATCH] Fix: bash to sh notation on invalid_challenge() hook --- docs/examples/hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/hook.sh b/docs/examples/hook.sh index 4e9f886..3f2a586 100755 --- a/docs/examples/hook.sh +++ b/docs/examples/hook.sh @@ -74,7 +74,7 @@ unchanged_cert() { # The path of the file containing the intermediate certificate(s). } -function invalid_challenge { +invalid_challenge() { local DOMAIN="${1}" RESPONSE="${2}" # This hook is called if the challenge response has failed, so domain