Daniel Gibbs 5 лет назад
Родитель
Сommit
c6c45b06d0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/alert_rocketchat.sh

+ 1 - 1
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"