i dont like it that way
This commit is contained in:
parent
136a4f0a94
commit
0de26fb4c2
@ -7,7 +7,8 @@ source .env
|
||||
REQUEST=$(curl -si $BML_URL/login > .cache); cat .cache; echo ""
|
||||
HTTPCODE=$(cat .cache | head -n1 | awk '{print $2}'); echo HTTP: $HTTPCODE
|
||||
JCODE=$(cat .cache | tail -n1 | jq .code); echo Json Code: $JCODE
|
||||
if [ "$JCODE" = "0" ] then
|
||||
if [ "$JCODE" = "0" ]
|
||||
then
|
||||
TEXT="🟢BML Online"
|
||||
STATUS=UP
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user