Browse Source

Satisfy shellcheck.

pull/414/head
Armando Lüscher 8 years ago
parent
commit
6e8dcdce78
No known key found for this signature in database GPG Key ID: 3D71085D14920359
  1. 2
      dnsapi/dns_cyon.sh

2
dnsapi/dns_cyon.sh

@ -134,7 +134,7 @@ _cyon_print_header() {
} }
_cyon_get_cookie_header() { _cyon_get_cookie_header() {
printf "Cookie: %s" "$(cat "$HTTP_HEADER" | grep "cyon=" | grep "^Set-Cookie:" | _tail_n 1 | _egrep_o 'cyon=[^;]*;' | tr -d ';')"
printf "Cookie: %s" "$(grep "cyon=" "$HTTP_HEADER" | grep "^Set-Cookie:" | _tail_n 1 | _egrep_o 'cyon=[^;]*;' | tr -d ';')"
} }
_cyon_login() { _cyon_login() {

Loading…
Cancel
Save