From: Nicolás Kovac Date: Thu, 5 Jan 2017 23:18:57 +0000 (+0100) Subject: Fix: bash to sh notation on invalid_challenge() hook X-Git-Tag: v0.4.0~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81eecedc5af058dc69b14331088aa2f69c60c554;p=thirdparty%2Fdehydrated.git Fix: bash to sh notation on invalid_challenge() hook --- 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