* Wait for lsb_release after we're done with it, so it doesn't stay
defunct
This commit is contained in:
		
							parent
							
								
									ee594fd7db
								
							
						
					
					
						commit
						54fc7cb2b9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -702,6 +702,7 @@ def get_os_info(): | |||
| 			output = temp_failure_retry(child_stdout.readline).strip() | ||||
| 			child_stdout.close() | ||||
| 			child_stdin.close() | ||||
| 			os.wait() | ||||
| 			# some distros put n/a in places, so remove those | ||||
| 			output = output.replace('n/a', '').replace('N/A', '') | ||||
| 			return output | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue