mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	minor
This commit is contained in:
		
							parent
							
								
									251d1c5c9f
								
							
						
					
					
						commit
						276b51d927
					
				
							
								
								
									
										18
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								acme.sh
									
									
									
									
									
								
							| @ -1177,7 +1177,7 @@ _stopserver(){ | |||||||
| 
 | 
 | ||||||
|   _debug2 "Le_HTTPPort" "$Le_HTTPPort" |   _debug2 "Le_HTTPPort" "$Le_HTTPPort" | ||||||
|   if [ "$Le_HTTPPort" ] ; then |   if [ "$Le_HTTPPort" ] ; then | ||||||
|     if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ; then |     if [ "$DEBUG" ] && [ "$DEBUG" -gt "3" ] ; then | ||||||
|       _get "http://localhost:$Le_HTTPPort" "" 1 |       _get "http://localhost:$Le_HTTPPort" "" 1 | ||||||
|     else |     else | ||||||
|       _get "http://localhost:$Le_HTTPPort" "" 1 >/dev/null 2>&1 |       _get "http://localhost:$Le_HTTPPort" "" 1 >/dev/null 2>&1 | ||||||
| @ -1186,7 +1186,7 @@ _stopserver(){ | |||||||
|    |    | ||||||
|   _debug2 "Le_TLSPort" "$Le_TLSPort" |   _debug2 "Le_TLSPort" "$Le_TLSPort" | ||||||
|   if [ "$Le_TLSPort" ] ; then |   if [ "$Le_TLSPort" ] ; then | ||||||
|     if [ "$DEBUG" ] && [ "$DEBUG" -ge "3" ] ; then |     if [ "$DEBUG" ] && [ "$DEBUG" -gt "3" ] ; then | ||||||
|       _get "https://localhost:$Le_TLSPort" "" 1 |       _get "https://localhost:$Le_TLSPort" "" 1 | ||||||
|       _get "https://localhost:$Le_TLSPort" "" 1 |       _get "https://localhost:$Le_TLSPort" "" 1 | ||||||
|     else |     else | ||||||
| @ -2191,6 +2191,7 @@ issue() { | |||||||
|          fi |          fi | ||||||
|          if [ "$DEBUG" ] ; then |          if [ "$DEBUG" ] ; then | ||||||
|            if [ "$vtype" = "$VTYPE_HTTP" ] ; then |            if [ "$vtype" = "$VTYPE_HTTP" ] ; then | ||||||
|  |              _debug "Debug: get token url." | ||||||
|              _get "http://$d/.well-known/acme-challenge/$token" |              _get "http://$d/.well-known/acme-challenge/$token" | ||||||
|            fi |            fi | ||||||
|          fi |          fi | ||||||
| @ -3610,14 +3611,9 @@ if [ "$INSTALLONLINE" ] ; then | |||||||
|   exit |   exit | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| if [ -z "$1" ] ; then | 
 | ||||||
|   showhelp | [ -z "$1" ] && showhelp && exit | ||||||
| else |  | ||||||
|   if echo "$1" | grep "^-" >/dev/null 2>&1 ; then |  | ||||||
|     _process "$@" |  | ||||||
|   else |  | ||||||
|     "$@" |  | ||||||
|   fi |  | ||||||
| fi |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | if _startswith "$1" '-' ; then _process "$@" ; else "$@"; fi ; exit | ||||||
|  | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user