mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-12 17:31:47 +00:00
This commit is contained in:
parent
b9b2cd278b
commit
75191e7187
7
acme.sh
7
acme.sh
@ -5932,8 +5932,11 @@ _send_notify() {
|
|||||||
_send_err=0
|
_send_err=0
|
||||||
for _n_hook in $(echo "$_nhooks" | tr ',' " "); do
|
for _n_hook in $(echo "$_nhooks" | tr ',' " "); do
|
||||||
_n_hook_file="$(_findHook "" $_SUB_FOLDER_NOTIFY "$_n_hook")"
|
_n_hook_file="$(_findHook "" $_SUB_FOLDER_NOTIFY "$_n_hook")"
|
||||||
_info "Found $_n_hook_file"
|
_info "Found $_n_hook_file for $_n_hook"
|
||||||
|
if [ -z "$_n_hook_file" ]; then
|
||||||
|
_err "Can not find the hook file for $_n_hook"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
if ! (
|
if ! (
|
||||||
if ! . "$_n_hook_file"; then
|
if ! . "$_n_hook_file"; then
|
||||||
_err "Load file $_n_hook_file error. Please check your api file and try again."
|
_err "Load file $_n_hook_file error. Please check your api file and try again."
|
||||||
|
Loading…
Reference in New Issue
Block a user