lib cac: remove \ from URL

This commit is contained in:
tv 2015-05-20 19:14:35 +02:00
parent a145561ece
commit cc62429cf3

View file

@ -1,7 +1,7 @@
cac_listservers() {
if test -z "${cac_via-}"; then
curl -fsS \
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\&login=$cac_login"
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key&login=$cac_login"
else
ssh -q $cac_via -t curl -fsS \
"https://panel.cloudatcost.com/api/v1/listservers.php?key=$cac_key\\&login=$cac_login"