mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
Fix grep 3.8 warnings on fgrep.
This commit is contained in:
parent
c819a3014a
commit
ffcf07f6b1
@ -2405,7 +2405,7 @@ match_httpheader_key() {
|
||||
pr_svrty_medium " ${nr}x"
|
||||
outln " -- checking first one only"
|
||||
out "$spaces"
|
||||
HEADERVALUE="$(fgrep -Fai "$key:" $HEADERFILE | head -1)"
|
||||
HEADERVALUE="$(grep -Fai "$key:" $HEADERFILE | head -1)"
|
||||
HEADERVALUE="${HEADERVALUE#*:}"
|
||||
HEADERVALUE="$(strip_lf "$HEADERVALUE")"
|
||||
HEADERVALUE="$(strip_leading_space "$HEADERVALUE")"
|
||||
|
Loading…
Reference in New Issue
Block a user