update
This commit is contained in:
parent
d1de3b397d
commit
286c4cab05
5 changed files with 6 additions and 10 deletions
|
|
@ -66,10 +66,8 @@ function highload_check_if_file_is_alive () {
|
|||
|
||||
# >&2 echo $is_alive
|
||||
|
||||
if [ "$is_alive" == "404" ]; then
|
||||
if [ "$is_alive" -eq "404" ]; then
|
||||
echo "false"
|
||||
# elif [ $is_alive = '500' ]; then
|
||||
# echo "false"
|
||||
else
|
||||
echo "true"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue