diff --git a/sysstat_webhook/stat_discord.sh b/sysstat_webhook/stat_discord.sh index 1393b10..ad3f335 100644 --- a/sysstat_webhook/stat_discord.sh +++ b/sysstat_webhook/stat_discord.sh @@ -62,7 +62,7 @@ if [ ! -n "${webhook_url}" ]; then exit 1 fi -if [ ! "$MESSAGE_TEXT" == "" ]; then +if [ "$MESSAGE_TEXT" == "" ]; then MESSAGE_TEXT=$DATETIME fi