From e56984de25c8392869e20438a62788d11eca07a2 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 26 Jul 2020 01:25:49 +0200 Subject: [PATCH] --max-time 60 sec for licence --- bin/v-activate-vesta-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-activate-vesta-license b/bin/v-activate-vesta-license index 6d5c875e..28a5bf16 100755 --- a/bin/v-activate-vesta-license +++ b/bin/v-activate-vesta-license @@ -35,7 +35,7 @@ check_args '2' "$#" 'MODULE LICENSE' # Activating license v_host='https://vestacp.com/checkout' -answer=$(curl -s $v_host/activate.php?licence_key=$license&module=$module) +answer=$(curl --max-time 60 -s $v_host/activate.php?licence_key=$license&module=$module) check_result $? "cant' connect to vestacp.com " $E_CONNECT # Checking server answer