mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-24 18:11:16 +01: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}"
|
||||
|
||||
# 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}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user