Browse Source

fix deactivate function

neilpang 8 years ago
parent
commit
947d14ffeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -3469,7 +3469,7 @@ _deactivate() {
       return 1
       return 1
     fi
     fi
 
 
-    entry="$(printf "%s\n" "$response" | _egrep_o '{"type":".*","status":"valid","uri"[^}]*')"
+    entry="$(printf "%s\n" "$response" | _egrep_o '{"type":"[^"]*","status":"valid","uri"[^}]*')"
     _debug entry "$entry"
     _debug entry "$entry"
 
 
     if [ -z "$entry" ]; then
     if [ -z "$entry" ]; then