]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Make travis happy. (SC2020)
authordevNan0 <nan0@nan0.dev>
Thu, 23 May 2019 06:15:03 +0000 (08:15 +0200)
committerdevNan0 <nan0@nan0.dev>
Thu, 23 May 2019 06:15:03 +0000 (08:15 +0200)
dnsapi/dns_netcup.sh

index 6e179257373efedbc9c53bdf2847fae99ad2f86f..d519e4f7123eba26bea7ae4eb97e6645ea1f0b51 100644 (file)
@@ -117,7 +117,7 @@ dns_netcup_rm() {
 
 login() {
   tmp=$(_post "{\"action\": \"login\", \"param\": {\"apikey\": \"$NC_Apikey\", \"apipassword\": \"$NC_Apipw\", \"customernumber\": \"$NC_CID\"}}" "$end" "" "POST")
-  sid=$(echo "$tmp" | tr '{}' '\n\n' | grep apisessionid | cut -d '"' -f 4)
+  sid=$(echo "$tmp" | tr '{}' '\n' | grep apisessionid | cut -d '"' -f 4)
   _debug "$tmp"
   if [ "$(_getfield "$msg" "4" | sed s/\"status\":\"//g | sed s/\"//g)" != "success" ]; then
     _err "$msg"