Fix bug
This commit is contained in:
parent
75bd35b942
commit
f8352b9f02
|
@ -192,7 +192,7 @@ update-system() {
|
||||||
if [ -z "$password" ]; then
|
if [ -z "$password" ]; then
|
||||||
sudo apt upgrade -y
|
sudo apt upgrade -y
|
||||||
else
|
else
|
||||||
echo $password | sudo -S apt uprgade -y
|
echo $password | sudo -S apt upgrade -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue