Skip to content
Snippets Groups Projects
Commit 54fc7cb2 authored by Alex Mauer's avatar Alex Mauer
Browse files

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

defunct
parent ee594fd7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment