Better output

This commit is contained in:
Thomas Forgione 2023-02-24 11:29:17 +01:00
parent f2c4618f5b
commit fe5ad9f4af
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ update-system() {
read -sep "Password: " password read -sep "Password: " password
fi fi
echo $password | sudo -Sp "" true echo $password | sudo -Sp "" true > /dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Could not get sudo..." echo "Could not get sudo..."