Browse Source

Close open string

pull/3507/head
n 4 years ago
parent
commit
66737cfb3a
  1. 2
      lgsm/functions/alert_matrix.sh

2
lgsm/functions/alert_matrix.sh

@ -17,7 +17,7 @@ EOF
)
fn_print_dots "Sending Matrix alert"
matrixsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://${matrixhomeserver}/_matrix/client/r0/rooms/${matrixroom}/send/m.room.message?access_token=${matrixtoken} | grep "error")
matrixsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://${matrixhomeserver}/_matrix/client/r0/rooms/${matrixroom}/send/m.room.message?access_token=${matrixtoken}" | grep "error")
if [ -n "${matrixsend}" ]; then

Loading…
Cancel
Save