Prompt for password

This commit is contained in:
Thomas Forgione 2023-02-24 11:23:32 +01:00
parent 43f32ee7ff
commit b74fdc59fd
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ update-system() {
if [ -z "$password" ]; then
echo -e "\033[32;1m=== Starting system update, please enter your password ===\033[0m"
read -s password
read -sep "Password: " password
fi
echo $password | sudo -Sp "" true