--max-time 60 sec for deactivating vesta licences

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

View file

@ -35,7 +35,7 @@ check_args '2' "$#" 'MODULE LICENSE'
# Activating license
v_host='https://vestacp.com/checkout'
answer=$(curl -s $v_host/cancel.php?licence_key=$license)
answer=$(curl --max-time 60 -s $v_host/cancel.php?licence_key=$license)
check_result $? "cant' connect to vestacp.com " $E_CONNECT
# Checking server answer