From 5353797756e6fe9b00269bebb446fa516a5f2458 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 26 Jul 2020 01:28:58 +0200 Subject: [PATCH] --max-time 60 sec for deactivating vesta licences --- bin/v-deactivate-vesta-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-deactivate-vesta-license b/bin/v-deactivate-vesta-license index 5839aaad..4f80d0c4 100755 --- a/bin/v-deactivate-vesta-license +++ b/bin/v-deactivate-vesta-license @@ -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