Declare and assign separately to avoid masking return values

pull/432/head
seidler2547 8 years ago committed by Stefan Seidel
parent 3d6a125bdc
commit 2b2b65fe18

@ -109,7 +109,8 @@ _dns_do_soap() {
_debug2 "SOAP response $response"
# retrieve cookie header
export _H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | _head_n 1)"
_H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | _head_n 1)"
export _H2
return 0
}

Loading…
Cancel
Save