Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6e8dcdce
Unverified
Commit
6e8dcdce
authored
Jan 04, 2017
by
Armando Lüscher
Browse files
Satisfy shellcheck.
parent
ce9fae82
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cyon.sh
View file @
6e8dcdce
...
@@ -134,7 +134,7 @@ _cyon_print_header() {
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment