mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Added Wget read-timeout and retry
Configure Wget to retry the download, when no packets are received for 10 seconds, for a total of 3 retries
This commit is contained in:
		
							parent
							
								
									195959a0a9
								
							
						
					
					
						commit
						f26a88bc5f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickget
									
										
									
									
									
								
							|  | @ -846,7 +846,7 @@ function web_get() { | |||
|         fi | ||||
|         echo #Necessary as aria2c in suppressed mode does not have new lines | ||||
|     else | ||||
|         if ! wget --quiet --continue --show-progress --progress=bar:force:noscroll "${URL}" -O "${DIR}/${FILE}"; then | ||||
|         if ! wget --quiet --continue --tries=3 --read-timeout=10 --show-progress --progress=bar:force:noscroll "${URL}" -O "${DIR}/${FILE}"; then | ||||
|           echo "ERROR! Failed to download ${URL} with wget. Try running 'quickget' again." | ||||
|           exit 1 | ||||
|         fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue