From 50cc9f2dfedf49deb040255f2d08656e5ade07d5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 14:56:55 +0100 Subject: [PATCH] Adding debug --- archinstall/lib/luks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 16ef9554..8d6daefb 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -109,6 +109,8 @@ class luks2: while cryptworker.is_alive(): if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker and pw_given is False: cryptworker.write(password) + with open('debug.txt', 'a') as silent_output: + silent_output.write(f"We did write the output to {cryptworker}") pw_given = True if cryptworker.exit_code == 256: