timeout for getting latest release

This commit is contained in:
myvesta 2020-05-24 22:27:57 +02:00 committed by GitHub
parent e21471b030
commit d1f256173e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ shell_list() {
#----------------------------------------------------------# #----------------------------------------------------------#
# Checking official latest version # Checking official latest version
latest=$(wget -q -T 1 -t 1 http://c.myvestacp.com/latest.txt -O -) latest=$(wget -q -T 3 -t 1 http://c.myvestacp.com/latest.txt?check -O -)
# Checking installed vesta version # Checking installed vesta version
if [ -d "/etc/sysconfig" ]; then if [ -d "/etc/sysconfig" ]; then