Browse Source

fix issue for openBSD

neil 9 years ago
parent
commit
230234e701
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -1188,7 +1188,7 @@ issue() {
         return 1
       fi
 
-      entry="$(printf $response | egrep -o  '\{[^{]*"type":"'$vtype'"[^}]*')"
+      entry="$(printf "$response" | egrep -o  '\{[^{]*"type":"'$vtype'"[^}]*')"
       _debug entry "$entry"
 
       token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"