mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user