mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 18:37:30 +00:00 
			
		
		
		
	fix deactivate for solaris
fix deactivate for solaris
This commit is contained in:
		
						commit
						b3f915b5b2
					
				
							
								
								
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							| @ -3469,7 +3469,7 @@ _deactivate() { | ||||
|       return 1 | ||||
|     fi | ||||
| 
 | ||||
|     entry="$(printf "%s\n" "$response" | _egrep_o '[^\{]*"status":"valid","uri"[^\}]*')" | ||||
|     entry="$(printf "%s\n" "$response" | _egrep_o '{"type":".*","status":"valid","uri"[^}]*')" | ||||
|     _debug entry "$entry" | ||||
| 
 | ||||
|     if [ -z "$entry" ]; then | ||||
|  | ||||
| @ -104,6 +104,7 @@ existing_records() { | ||||
|   if _contains "$response" "Action completed successful"; then | ||||
|     count=$(printf "%s" "$response" | grep '<type>TXT</type>' | wc -l | tr -d ' ') | ||||
|     record_id=$(printf "%s" "$response" | grep '^<id>' | tail -1 | cut -d '>' -f 2 | cut -d '<' -f 1) | ||||
|     _debug record_id "$record_id" | ||||
|     return 0 | ||||
|   else | ||||
|     _err "get existing records error." | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user