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