Browse Source

bug

pull/3051/head
Daniel Gibbs 5 years ago
parent
commit
c6c45b06d0
  1. 2
      lgsm/functions/alert_rocketchat.sh

2
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"

Loading…
Cancel
Save