From: Simon Ruderich Date: Sat, 5 Dec 2015 13:22:13 +0000 (+0100) Subject: fix typo in variable name X-Git-Tag: v0.1.0~221^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1621214164240f4e6db10de04b2042ece902132;p=thirdparty%2Fdehydrated.git fix typo in variable name Found by shellcheck. --- diff --git a/letsencrypt.sh b/letsencrypt.sh index 15f384c..522fc53 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -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