--max-time 60 sec for checking official licence

This commit is contained in:
myvesta 2020-07-26 01:26:55 +02:00 committed by GitHub
parent e56984de25
commit d362624583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ for str in $modules; do
license=$(echo "$str" |cut -f 2 -d \')
if [ ! -z "$license" ]; then
v_host='https://vestacp.com/checkout'
answer=$(curl --max-time 10 -s "$v_host/check.php?licence_key=$license&module=$module")
answer=$(curl --max-time 60 -s "$v_host/check.php?licence_key=$license&module=$module")
check_result $? "cant' connect to vestacp.com " 0
echo "$module $license $answer"
if [[ "$answer" != '0' ]]; then