Просмотр исходного кода

Fix curl call

curl wasn't called properly, due to '&' character exist in url without quote around it
Clark Chen 6 лет назад
Родитель
Сommit
e75b62efad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-activate-vesta-license

+ 1 - 1
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 -s "$v_host/activate.php?licence_key=$license&module=$module")
 check_result $? "cant' connect to vestacp.com " $E_CONNECT
 
 # Checking server answer