mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	fix check for Mac nc command, it doesn't contain "openbsd", but it works.
This commit is contained in:
		
							parent
							
								
									0ca5b7996c
								
							
						
					
					
						commit
						dba26c3240
					
				
							
								
								
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							| @ -1687,7 +1687,7 @@ _startserver() { | |||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
|   if [ "$Le_Listen_V4$Le_Listen_V6$ncaddr" ]; then |   if [ "$Le_Listen_V4$Le_Listen_V6$ncaddr" ]; then | ||||||
|     if ! _contains "$nchelp" "OpenBSD"; then |     if ! _contains "$nchelp" "-4"; then | ||||||
|       _err "The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again." |       _err "The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again." | ||||||
|       _err "See $(__green $_PREPARE_LINK)" |       _err "See $(__green $_PREPARE_LINK)" | ||||||
|       return 1 |       return 1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user