From 4a403b9132f7d0093de16bcb499b85a1fadb65f3 Mon Sep 17 00:00:00 2001 From: Cameron Ryder Date: Sun, 11 Jun 2023 23:30:38 -0400 Subject: [PATCH] fix: also (re)cache sudo creds before drawing install menu for consistency --- scripts/ui/install_menu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh index 2ebcc00..842c367 100755 --- a/scripts/ui/install_menu.sh +++ b/scripts/ui/install_menu.sh @@ -34,7 +34,8 @@ function install_ui() { } function install_menu() { - clear && print_header + clear -x && sudo -v && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui + print_header install_ui ### save all installed webinterface ports to the ini file