Missing pipe
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user