mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-30 10:30:41 +02:00
fix typo in variable name
Found by shellcheck.
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ sign_domain() {
|
|||||||
challenge_uri="$(echo "${response}" | grep -Eo '"challenges":[^\[]*\[[^]]*]' | sed 's/{/\n{/g' | grep 'http-01' | grep -Eo '"uri":\s*"[^"]*"' | cut -d'"' -f4)"
|
challenge_uri="$(echo "${response}" | grep -Eo '"challenges":[^\[]*\[[^]]*]' | sed 's/{/\n{/g' | grep 'http-01' | grep -Eo '"uri":\s*"[^"]*"' | cut -d'"' -f4)"
|
||||||
|
|
||||||
if [ "${challenge_token}" = "" ] || [ "${challenge_uri}" = "" ]; then
|
if [ "${challenge_token}" = "" ] || [ "${challenge_uri}" = "" ]; then
|
||||||
echo " + Error: Can't retrieve challenges (${reqsponse})"
|
echo " + Error: Can't retrieve challenges (${response})"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user