* Wait for lsb_release after we're done with it, so it doesn't stay

defunct
This commit is contained in:
Alex Mauer 2006-11-14 23:07:14 +00:00
parent ee594fd7db
commit 54fc7cb2b9
1 changed files with 1 additions and 0 deletions

View File

@ -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