From 218f54123eeeec82d88dfd7ecae2a7878f9d5742 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 15:42:34 +0100 Subject: [PATCH] Changed flush() method to child fd --- archinstall/lib/luks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 24387782..48ed4800 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -109,7 +109,7 @@ class luks2: while cryptworker.is_alive(): with open('debug_outer.txt', 'a') as silent_output: found = bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker - silent_output.write(f"Found string in worker: {found} / {pw_given}") + silent_output.write(f"Found string in worker: {found} / {pw_given}\r\n", line_ending=False) if found and pw_given is False: cryptworker.write(password) pw_given = True