]> git.street.me.uk Git - andy/dehydrated.git/commitdiff
Fix: bash to sh notation on invalid_challenge() hook
authorNicolás Kovac <nicolas@devels.es>
Thu, 5 Jan 2017 23:18:57 +0000 (00:18 +0100)
committerLukas Schauer <lukas@schauer.so>
Thu, 5 Jan 2017 23:18:57 +0000 (00:18 +0100)
docs/examples/hook.sh

index 4e9f886e30b9c9d30e6ec05d97352605383d059c..3f2a5867a24816b5ebaa6071e3181a1d185bc04c 100755 (executable)
@@ -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