From 66737cfb3af7fcb0f11af201564a4b5c673706cc Mon Sep 17 00:00:00 2001 From: n <67550725+n194@users.noreply.github.com> Date: Fri, 9 Jul 2021 22:18:51 +0900 Subject: [PATCH] Close open string --- lgsm/functions/alert_matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_matrix.sh b/lgsm/functions/alert_matrix.sh index 1d32a1a4b..62c7d513a 100644 --- a/lgsm/functions/alert_matrix.sh +++ b/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