mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	fix : kill all background processes when exiting (#165)
This commit is contained in:
		
							parent
							
								
									d0ffb6f4cb
								
							
						
					
					
						commit
						aa7ebc1528
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickget
									
										
									
									
									
								
							|  | @ -23,6 +23,8 @@ | |||
| #     } | ||||
| #  6. Add new OS to the argument parser at the bottom of the script | ||||
| 
 | ||||
| trap 'kill $(jobs -p)' EXIT | ||||
| 
 | ||||
| if ((BASH_VERSINFO[0] < 4)) | ||||
| then | ||||
|   echo "Sorry, you need bash 4.0 or newer to run this script." | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue