mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-25 01:38:28 +02:00
_request: fix unset variable
_request() is also called when $challenge_token/$keyauth is not set.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user