From e4710ae71547505a0665551e7d7b049bca3bf7ab Mon Sep 17 00:00:00 2001 From: Clark Chen <9372896+clarkchentw@users.noreply.github.com> Date: Mon, 30 Mar 2020 16:50:07 +0800 Subject: [PATCH] Fix curl call curl wasn't called properly, due to '&' character exist in url without quote around it --- 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 5839aaad5..74e39f65c 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 -s "$v_host/cancel.php?licence_key=$license") check_result $? "cant' connect to vestacp.com " $E_CONNECT # Checking server answer