refactor(kiauh): use sudo true instead of sudo -v to prevent password prompts

Fixes #395 

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2023-12-17 12:10:36 +01:00
committed by GitHub
parent 7a9e752f9c
commit f5eb9486cc

View File

@@ -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