Fix curl call

curl wasn't called properly, due to '&' character exist in url without quote around it
This commit is contained in:
Clark Chen 2020-03-30 16:50:07 +08:00 committed by GitHub
commit e4710ae715
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 # Activating license
v_host='https://vestacp.com/checkout' 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 check_result $? "cant' connect to vestacp.com " $E_CONNECT
# Checking server answer # Checking server answer