1
0
mirror of synced 2025-01-15 22:57:02 +01:00
Mason Simon 21582cc86a Init
2018-03-30 17:47:17 -07:00

8 lines
188 B
Bash

red=$'\e[1;31m'
grn=$'\e[1;32m'
end=$'\e[0m'
curl "http://localhost:8081/" > /dev/null 2> /dev/null
[[ $? == 0 ]] && printf "%s\n" "${grn}PASS${end}" || printf "%s\n" "${red}FAIL${end}"