diff --git a/acme.sh b/acme.sh index dd21785d..02c94351 100755 --- a/acme.sh +++ b/acme.sh @@ -3981,6 +3981,8 @@ _findHook() { d_api="$LE_WORKING_DIR/$_hookcat/$_hookname" elif [ -f "$LE_WORKING_DIR/$_hookcat/$_hookname.sh" ]; then d_api="$LE_WORKING_DIR/$_hookcat/$_hookname.sh" + elif [ -f "$_hookcat/$_hookname.sh" ]; then + d_api="$_hookcat/$_hookname.sh" fi printf "%s" "$d_api"