]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
add explanation on HEADERS parameter to request_failure hook (fixes #545)
authorLukas Schauer <lukas@schauer.so>
Wed, 25 Apr 2018 20:48:16 +0000 (22:48 +0200)
committerLukas Schauer <lukas@schauer.so>
Wed, 25 Apr 2018 20:48:16 +0000 (22:48 +0200)
docs/examples/hook.sh

index 52f93094955a5eec768a1c59affedfc6e65a45ec..626ad3a42ef39dd9cc8492e567d5c73168682331 100755 (executable)
@@ -138,6 +138,8 @@ request_failure() {
     #   The specified reason for the error.
     # - REQTYPE
     #   The kind of request that was made (GET, POST...)
+    # - HEADERS
+    #   HTTP headers returned by the CA
 
     # Simple example: Send mail to root
     # printf "Subject: HTTP request failed failed!\n\nA http request failed with status ${STATUSCODE}!" | sendmail root