remove potentiality to send multiple down messages for different errors

This commit is contained in:
Shihaam Abdul Rahman 2022-04-08 14:35:42 +05:00
parent ee6600e0fc
commit 9e03e81c7f
Signed by: shihaam
GPG Key ID: 16ADCF6871CB2A56

View File

@ -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