Declare and assign separately to avoid masking return values

This commit is contained in:
seidler2547 2017-02-19 21:42:55 +00:00 committed by Stefan Seidel
parent 3d6a125bdc
commit 2b2b65fe18

View File

@ -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
}