Explorar o código

fix deactivate function

neilpang %!s(int64=8) %!d(string=hai) anos
pai
achega
947d14ffeb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -3469,7 +3469,7 @@ _deactivate() {
       return 1
     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"
 
     if [ -z "$entry" ]; then