Missing pipe
This commit is contained in:
parent
b74fdc59fd
commit
f2c4618f5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue