Add partial logging in authentication process (closes #822)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2025-08-29 09:28:29 +02:00
parent 1ee8010c24
commit a7d6b06d21
2 changed files with 29 additions and 17 deletions

View File

@@ -860,7 +860,7 @@ pub fn main() !void {
};
std.posix.sigaction(std.posix.SIG.CHLD, &tty_control_transfer_act, null);
auth.authenticate(allocator, auth_options, current_environment, login_text, password_text) catch |err| {
auth.authenticate(allocator, log_writer, auth_options, current_environment, login_text, password_text) catch |err| {
shared_err.writeError(err);
std.process.exit(1);
};