diff --git a/bml-status-tg-bot b/bml-status-tg-bot index 8922cfe..2b90353 100755 --- a/bml-status-tg-bot +++ b/bml-status-tg-bot @@ -13,7 +13,7 @@ source .env TEXT="🔴BML Down" STATUS=DOWN BOTSTATUS$(curl -si https://bmlstatus.shihaam.dev/login | head -n1 | awk '{print $2}') - if [ "$BOTSTATUS" = 69" ] + if [ "$BOTSTATUS" = "69" ] then curl -s $TG_BOTAPI$TG_BOT_TOKEN/sendMessage?chat_id=$PROXY_ALERT_CHATID'&'text=${TGTEXT}${BOTSTATUS} STATUS_OLD=$STATUS