Skip to content

Commit b2bd0c4

Browse files
committed
Render the html error
to be more informative
1 parent b8a5f25 commit b2bd0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ do
2323
if ! [[ "$url_output" =~ ^('Hello World!')(.*)(([0-9]*):(([0-9]+([.][0-9]*)?|[.][0-9]+)):([0-9]*))$ ]]; then
2424
echo -e "${RED}${ERROR} $fw ${NC}"
2525
echo "$url"
26-
echo "$url_output"
26+
echo "$url_output" | w3m -dump -T text/html
2727
FAIL=1
2828
else
2929
echo -e "${GREEN}${OK} $fw ${NC}"

0 commit comments

Comments
 (0)