Skip to content

Commit 4960f05

Browse files
committed
Fix repeated var
1 parent 324b948 commit 4960f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
. ./base/option_target.sh
55

66
OK='\U2714'
7-
FAIL='\U274C'
7+
ERROR='\U274C'
88

99
GREEN='\033[0;32m'
1010
RED='\033[0;31m'
@@ -21,7 +21,7 @@ do
2121

2222
# expected to get the Hello World! + libs/output_data.php
2323
if ! [[ "$url_output" =~ ^('Hello World!')(.*)(([0-9]*):(([0-9]+([.][0-9]*)?|[.][0-9]+)):([0-9]*))$ ]]; then
24-
echo -e "${RED}${FAIL} $fw ${NC}"
24+
echo -e "${RED}${ERROR} $fw ${NC}"
2525
echo "$url"
2626
echo "$url_output"
2727
FAIL=1

0 commit comments

Comments
 (0)