diff --git a/res/pam.d/ly b/res/pam.d/ly index 1a5fe94..d99690f 100644 --- a/res/pam.d/ly +++ b/res/pam.d/ly @@ -1,5 +1,7 @@ #%PAM-1.0 +auth sufficient pam_unix-so try_first_pass likeauth nullok # empty-password will not pass this, but will not fail causing the next line to get executed +-auth sufficient pam_fprintd.so # We do not want to get errors when pam_fprintd.so is not present auth include login -auth optional pam_gnome_keyring.so -auth optional pam_kwallet5.so diff --git a/src/main.zig b/src/main.zig index f8c9262..1cb8b5f 100644 --- a/src/main.zig +++ b/src/main.zig @@ -602,8 +602,8 @@ pub fn main() !void { asyncPamHandle = null; try std.posix.tcsetattr(std.posix.STDIN_FILENO, .FLUSH, tb_termios); - termbox.tb_clear(); - termbox.tb_present(); + _ = termbox.tb_clear(); + _ = termbox.tb_present(); std.time.sleep(1000000000); }