remove potentiality to send multiple down messages for different errors
This commit is contained in:
parent
ee6600e0fc
commit
9e03e81c7f
@ -8,8 +8,10 @@ source .env
|
||||
if [ "$STATUS" = "0" ]
|
||||
then
|
||||
TEXT="🟢BML Online"
|
||||
STATUS=UP
|
||||
else
|
||||
TEXT="🔴BML Down"
|
||||
STATUS=DOWN
|
||||
fi
|
||||
if [ "$STATUS" != "$STATUS_OLD" ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user