Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-09-16 14:58:20 +0200
committerGitHub <noreply@github.com>2023-09-16 14:58:20 +0200
commit2cc0d64619671fbc91a5f3a090c7c239be1d8a84 (patch)
tree4467bc647f59a3232f4b28bba42101cc5ac91b08 /archinstall/lib
parent06d46ac762f58d051b2dba1aea50a2e3314ab403 (diff)
Added a forced buffer flush on each worker stdin write (#2057)
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/general.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index c1db6fb3..611378ee 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -217,6 +217,7 @@ class SysCommandWorker:
if self.child_fd:
return os.write(self.child_fd, data + (b'\n' if line_ending else b''))
+ os.fsync(self.child_fd)
return 0