merged random hook with human-readable-message

This commit is contained in:
Lukas Schauer
2018-02-13 21:32:47 +01:00
parent 5940c55e18
commit bc34f3aa86

View File

@@ -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"