From b1c1f91c7b26af4df647a654adc30e29306baa24 Mon Sep 17 00:00:00 2001 From: Brian Candler <44789+candlerb@users.noreply.github.com> Date: Sat, 29 Jul 2017 08:33:04 +0100 Subject: [PATCH] Don't abort on new 'startup_hook' and 'exit_hook' calls --- example-dns-01-nsupdate-script.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/example-dns-01-nsupdate-script.md b/example-dns-01-nsupdate-script.md index 2a68fc5..13df2fb 100644 --- a/example-dns-01-nsupdate-script.md +++ b/example-dns-01-nsupdate-script.md @@ -33,9 +33,14 @@ case "$1" in "unchanged_cert") # do nothing for now ;; + "startup_hook") + # do nothing for now + ;; + "exit_hook") + # do nothing for now + ;; *) - echo Unknown hook "${1}" - exit 1 + echo "Warning: Unknown hook '$1'" ;; esac