remove cookiejar temp file

This commit is contained in:
Stefan Seidel committed 2017-02-23 20:59:12 +00:00
1 parent 3ebbeb103c
commit b95a99e0c2
1 file changed
+1 -3
+1 -3
View File
@@ -98,8 +98,6 @@ _dns_do_soap() {
# set SOAP headers
_H1="SOAPAction: ${DO_URL}#${func}"
# add cookie header if present
[ -s "${_cookiejar}" ] && _H2="$(cat "${_cookiejar}")"
if ! response="$(_post "${_xml}" "${DO_URL}")"; then
_err "Error <$1>"
@@ -108,7 +106,7 @@ _dns_do_soap() {
_debug2 "SOAP response $response"
# retrieve cookie header
_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | head -1 >"${_cookiejar}"
_H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | head -1)"
return 0
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.