mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Correct merge error. Close #83
This commit is contained in:
		
							parent
							
								
									018fb1c454
								
							
						
					
					
						commit
						9de5ea19cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -87,7 +87,7 @@ function get_port() { | ||||||
|     local PORT_RANGE=$((PORT_START+$2)) |     local PORT_RANGE=$((PORT_START+$2)) | ||||||
|     local PORT |     local PORT | ||||||
|     for ((PORT = PORT_START; PORT <= PORT_RANGE; PORT++)); do |     for ((PORT = PORT_START; PORT <= PORT_RANGE; PORT++)); do | ||||||
|         (echo -n "" >/dev/tcp/127.0.0.1/${CANDIDATE}) >/dev/null 2>&1 |         (echo -n "" >/dev/tcp/127.0.0.1/"${PORT}") >/dev/null 2>&1 | ||||||
|         if [ ${?} -ne 0 ]; then |         if [ ${?} -ne 0 ]; then | ||||||
|             echo "${PORT}" |             echo "${PORT}" | ||||||
|             break |             break | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue