Update dns_hover.sh

fixing SC2155
This commit is contained in:
ddarek2000 2020-08-31 13:14:26 -04:00 committed by GitHub
parent 51ddd2a5f6
commit f28540731e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,8 @@ _HOVER_login() {
return 1
fi
export HOVER_COOKIE="$(grep -i '^.*Cookie:.*hoverauth=.*$' "$HTTP_HEADER" | _head_n 1 | tr -d "\r\n" | cut -d ":" -f 2)"
HOVER_COOKIE="$(grep -i '^.*Cookie:.*hoverauth=.*$' "$HTTP_HEADER" | _head_n 1 | tr -d "\r\n" | cut -d ":" -f 2)"
export HOVER_COOKIE
if [ -z "$HOVER_COOKIE" ]; then
_debug3 response "$response"