fix: also (re)cache sudo creds before drawing install menu for consistency

This commit is contained in:
Cameron Ryder
2023-06-11 23:30:38 -04:00
parent bbc341b35d
commit 4a403b9132

View File

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