Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/general.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/general.py')
-rw-r--r--archinstall/lib/general.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index f2a714e7..65a9610c 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -262,6 +262,11 @@ class sys_command():#Thread):
with open(f'{self.cwd}/trace.log', 'wb') as fh:
fh.write(self.trace_log)
+ try:
+ os.close(child_fd)
+ except:
+ pass
+
def prerequisite_check():
if not os.path.isdir("/sys/firmware/efi"):