From f5eb9486cc17863af202d693afc7c8e3d9650517 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sun, 17 Dec 2023 12:10:36 +0100 Subject: [PATCH] refactor(kiauh): use `sudo true` instead of `sudo -v` to prevent password prompts Fixes #395 Signed-off-by: Dominik Willner --- scripts/ui/install_menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh index 5bee336..5c4b625 100755 --- a/scripts/ui/install_menu.sh +++ b/scripts/ui/install_menu.sh @@ -35,7 +35,7 @@ function install_ui() { } function install_menu() { - clear -x && sudo -v && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui + clear -x && sudo true && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui print_header install_ui