mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	bugfix
This commit is contained in:
		
							parent
							
								
									803fb243bf
								
							
						
					
					
						commit
						49e1f7d8bf
					
				| @ -46,7 +46,7 @@ dns_me_add(){ | |||||||
|   if [ "$count" = "0" ] ; then |   if [ "$count" = "0" ] ; then | ||||||
|     _info "Adding record" |     _info "Adding record" | ||||||
|     if _me_rest POST "$_domain_id/records/"  "{\"type\":\"TXT\",\"name\":\"$_sub_domain\",\"value\":\"$txtvalue\",\"gtdLocation\":\"DEFAULT\",\"ttl\":120}"; then |     if _me_rest POST "$_domain_id/records/"  "{\"type\":\"TXT\",\"name\":\"$_sub_domain\",\"value\":\"$txtvalue\",\"gtdLocation\":\"DEFAULT\",\"ttl\":120}"; then | ||||||
|       if printf -- "%s" "$response" | grep id: > /dev/null ; then |       if [ "$?" = "0" ]; then | ||||||
|         _info "Added" |         _info "Added" | ||||||
|         #todo: check if the record takes effect |         #todo: check if the record takes effect | ||||||
|         return 0 |         return 0 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user