]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
merged random hook with human-readable-message
authorLukas Schauer <lukas@schauer.so>
Tue, 13 Feb 2018 20:32:47 +0000 (21:32 +0100)
committerLukas Schauer <lukas@schauer.so>
Tue, 13 Feb 2018 20:34:02 +0000 (21:34 +0100)
dehydrated

index 5c9887d00c23e2e28acf5fcd2eebb2c8729f89af..f8e06164a919a63adc1f7320108384d1e24b2495 100755 (executable)
@@ -1106,7 +1106,7 @@ command_sign_domains() {
 
   # Hook scripts should ignore any hooks they don't know.
   # Calling a random hook to make this clear to the hook script authors...
-  [[ -n "${HOOK}" ]] && "${HOOK}" "$(openssl rand -base64 16)" "please ignore unknown hooks!!!"
+  [[ -n "${HOOK}" ]] && "${HOOK}" "$(openssl rand -base64 16)_this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
 
   # Call startup hook
   [[ -n "${HOOK}" ]] && "${HOOK}" "startup_hook"