mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-11-03 20:07:43 +00:00 
			
		
		
		
	Fix an obvious stupidity.
This commit is contained in:
		
							parent
							
								
									508012342d
								
							
						
					
					
						commit
						3052ba433a
					
				@ -75,7 +75,7 @@ dns_namecom_rm() {
 | 
			
		||||
 | 
			
		||||
  # Get the record id.
 | 
			
		||||
  if _namecom_rest GET "domains/$_domain/records"; then
 | 
			
		||||
    _record_id=$(printf "%s\n" "$response" | _egrep_o "\"id\":[0-9]+,\"domainName\":\"$_domain\",\"host\":\"$_sub_domain\",\"fqdn\":\"$fulldomain.\",\"type\":\"$txtvalue\"" | cut -d \" -f 3 | _egrep_o [0-9]+)
 | 
			
		||||
    _record_id=$(printf "%s\n" "$response" | _egrep_o "\"id\":[0-9]+,\"domainName\":\"$_domain\",\"host\":\"$_sub_domain\",\"fqdn\":\"$fulldomain.\",\"type\":\"TXT\",\"answer\":\"$txtvalue\"" | cut -d \" -f 3 | _egrep_o [0-9]+)
 | 
			
		||||
    _debug record_id "$_record_id"
 | 
			
		||||
    if [ "$_record_id" ]; then
 | 
			
		||||
      _info "Successfully retrieved the record id for ACME challenge."
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user