]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
fix typo in variable name
authorSimon Ruderich <simon@ruderich.org>
Sat, 5 Dec 2015 13:22:13 +0000 (14:22 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 5 Dec 2015 15:30:42 +0000 (16:30 +0100)
Found by shellcheck.

letsencrypt.sh

index 15f384c0f725cd035d38a2a90b6d40e3c6f375a8..522fc534176b55f7ea52c03a1106e977ee923618 100755 (executable)
@@ -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