diff --git a/Makefile b/Makefile index db9d28d..0258490 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) BUILD_DIR?=$(ROOT_DIR)/build -DEHYDRATED_VERSION:=0bc0bd13d6abdc027c58bec12f7c2d3198d3a677 +DEHYDRATED_VERSION:=05eda91a2fbaed1e13c733230238fc68475c535e LUA_RESTY_SHELL_VERSION:=955243d70506c21e7cc29f61d745d1a8a718994f SOCKPROC_VERSION:=680121312d16dc20456b5d0fed00e2b0e160e0db diff --git a/bin/letsencrypt_hooks b/bin/letsencrypt_hooks index ff0717c..1d7a51f 100755 --- a/bin/letsencrypt_hooks +++ b/bin/letsencrypt_hooks @@ -72,4 +72,10 @@ exit_hook() { : } -HANDLER=$1; shift; $HANDLER "$@" +HANDLER=$1; shift; + +if ! command -v "$HANDLER"; then + exit 0 +fi + +$HANDLER "$@"