Missing pipe

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

View File

@ -184,7 +184,7 @@ update-system() {
if [ $? -eq 0 ]; then
echo $password | sudo -Sp "" apt upgrade -y
if [ $? -eq 0 ]; then
echo $password sudo -Sp "" apt autoremove -y
echo $password | sudo -Sp "" apt autoremove -y
fi
fi
fi