mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	minor, add debug info
This commit is contained in:
		
							parent
							
								
									58b138567e
								
							
						
					
					
						commit
						e6d31b4e0c
					
				| @ -31,9 +31,12 @@ dns-cf-add() { | |||||||
|     _err "invalid domain" |     _err "invalid domain" | ||||||
|     return 1 |     return 1 | ||||||
|   fi |   fi | ||||||
|  |   _debug _domain_id "$_domain_id" | ||||||
|  |   _debug _sub_domain "$_sub_domain" | ||||||
|  |   _debug _domain "$_domain" | ||||||
|    |    | ||||||
|   _debug "Getting txt records" |   _debug "Getting txt records" | ||||||
|   _cf_rest GET "/zones/$_domain_id/dns_records?type=TXT&name=$fulldomain" |   _cf_rest GET "/zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain" | ||||||
|    |    | ||||||
|   if [ "$?" != "0" ] || ! printf $response | grep \"success\":true > /dev/null ; then |   if [ "$?" != "0" ] || ! printf $response | grep \"success\":true > /dev/null ; then | ||||||
|     _err "Error" |     _err "Error" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user