Merge branch '2.9dev' into hpkp_bugfix

This commit is contained in:
David Cooper 2017-07-06 08:59:00 -04:00
commit 1f76c4d144

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