Prechádzať zdrojové kódy

fix deactivate function

fix deactivate function
neil 8 rokov pred
rodič
commit
eb91f9575a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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