From c6c45b06d04bc17377758c9430a44b9f744b6e08 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs <me@danielgibbs.co.uk> Date: Thu, 17 Sep 2020 11:03:25 +0100 Subject: [PATCH] bug --- lgsm/functions/alert_rocketchat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_rocketchat.sh b/lgsm/functions/alert_rocketchat.sh index 46d38cba6..33d3692bd 100755 --- a/lgsm/functions/alert_rocketchat.sh +++ b/lgsm/functions/alert_rocketchat.sh @@ -45,7 +45,7 @@ EOF fn_print_dots "Sending Rocketchat alert" -rocketlaunch=$(curl -sSL -H "Content-Type:application/json" -X POST --d "$(echo -n "$json" | jq -c .)" "${rocketchatwebhook}") +rocketlaunch=$(curl -sSL -H "Content-Type:application/json" -X POST -d "$(echo -n "$json" | jq -c .)" "${rocketchatwebhook}") if [ "${rocketlaunch}" == "ok" ]; then fn_print_ok_nl "Sending Rocketchat alert"