mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-17 12:26:55 +02:00
fixed spurious return code from hook bricker...
This commit is contained in:
+3
-1
@@ -83,7 +83,9 @@ reset_configvars() {
|
|||||||
hookscript_bricker_hook() {
|
hookscript_bricker_hook() {
|
||||||
# Hook scripts should ignore any hooks they don't know.
|
# Hook scripts should ignore any hooks they don't know.
|
||||||
# Calling a random hook to make this clear to the hook script authors...
|
# 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
|
# verify configuration values
|
||||||
|
|||||||
Reference in New Issue
Block a user