mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-07 07:33:26 +02:00
fixed spurious return code from hook bricker...
This commit is contained in:
@@ -83,7 +83,9 @@ reset_configvars() {
|
||||
hookscript_bricker_hook() {
|
||||
# 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}" "this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
|
||||
if [[ -n "${HOOK}" ]]; then
|
||||
"${HOOK}" "this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
|
||||
fi
|
||||
}
|
||||
|
||||
# verify configuration values
|
||||
|
||||
Reference in New Issue
Block a user