fix typo in variable name

Found by shellcheck.
This commit is contained in:
Simon Ruderich
2015-12-05 14:22:13 +01:00
parent 1f65a33525
commit a162121416

View File

@@ -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)"
if [ "${challenge_token}" = "" ] || [ "${challenge_uri}" = "" ]; then
echo " + Error: Can't retrieve challenges (${reqsponse})"
echo " + Error: Can't retrieve challenges (${response})"
exit 1
fi