Commit 0b2119c4 authored by Simon Ruderich's avatar Simon Ruderich

_request: fix unset variable

_request() is also called when $challenge_token/$keyauth is not set.
parent 84fac541
...@@ -100,7 +100,7 @@ _request() { ...@@ -100,7 +100,7 @@ _request() {
rm -f "${tempcont}" rm -f "${tempcont}"
# Wait for hook script to clean the challenge if used # Wait for hook script to clean the challenge if used
if [[ -n "${HOOK}" ]]; then if [[ -n "${HOOK}" ]] && [[ -n "${challenge_token:+set}" ]]; then
${HOOK} "clean_challenge" '' "${challenge_token}" "${keyauth}" ${HOOK} "clean_challenge" '' "${challenge_token}" "${keyauth}"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment