Fixes bug where it would try and test an empty line
Thanks Rob Norman for reporting and helping debug.
This commit is contained in:
parent
ed0817f6b5
commit
b943a3e03b
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ while read -r line; do
|
|||
fi
|
||||
done<<<"$(echo "$headers" | sed '1d')" # We don't want the initial http banner
|
||||
|
||||
echo "$missingHeaders" | while read -r line; do
|
||||
echo -n "$missingHeaders" | while read -r line; do
|
||||
echo -e "${RED}$line${NC}"
|
||||
functionName="test_$line"
|
||||
"$functionName" >> "$tmpfile"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue