This commit is contained in:
Dirk 2017-07-06 13:02:27 +02:00
parent 7aaadf731c
commit bc0c1dc553
1 changed files with 1 additions and 1 deletions

View File

@ -2079,7 +2079,7 @@ run_cookie_flags() { # ARG1: Path
pr_bold " Cookie(s) "
grep -ai '^Set-Cookie' $HEADERFILE >$TMPFILE
if [[ $? -eq 0 ]]; then
nr_cookies=$(count_lines "$TMPFILE")
nr_cookies=$(count_lines "$(cat $TMPFILE)")
out "$nr_cookies issued: "
fileout "cookie_count" "INFO" "$nr_cookies cookie(s) issued at \"$1\"$msg302_"
if [[ $nr_cookies -gt 1 ]]; then