mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-30 18:07:15 +00:00 
			
		
		
		
	Fix shell check errors
This commit is contained in:
		
							parent
							
								
									ab1efd923b
								
							
						
					
					
						commit
						cd3a4573f2
					
				| @ -68,7 +68,7 @@ dns_linode_rm() { | |||||||
|   _parameters="&DomainID=$_domain_id" |   _parameters="&DomainID=$_domain_id" | ||||||
| 
 | 
 | ||||||
|   if _rest GET "domain.resource.list" "$_parameters" && [ -n "$response" ]; then |   if _rest GET "domain.resource.list" "$_parameters" && [ -n "$response" ]; then | ||||||
|     response="$(echo "$response" | tr -d "\n" | sed $'s/{/\\\n&/g')" |     response="$(echo "$response" | tr -d "\n"  | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")" | ||||||
| 
 | 
 | ||||||
|     resource="$(echo "$response" | _egrep_o "{.*\"NAME\":\s*\"$_sub_domain\".*}")" |     resource="$(echo "$response" | _egrep_o "{.*\"NAME\":\s*\"$_sub_domain\".*}")" | ||||||
|     if [ "$resource" ]; then |     if [ "$resource" ]; then | ||||||
| @ -128,7 +128,7 @@ _get_root() { | |||||||
|   p=1 |   p=1 | ||||||
| 
 | 
 | ||||||
|   if _rest GET "domain.list"; then |   if _rest GET "domain.list"; then | ||||||
|     response="$(echo "$response" | tr -d "\n" | sed $'s/{/\\\n&/g')" |     response="$(echo "$response" | tr -d "\n"  | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")" | ||||||
|     while true; do |     while true; do | ||||||
|       h=$(printf "%s" "$domain" | cut -d . -f $i-100) |       h=$(printf "%s" "$domain" | cut -d . -f $i-100) | ||||||
|       _debug h "$h" |       _debug h "$h" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user