From: Neil Muller Date: Mon, 1 Feb 2021 13:46:09 +0000 (+0200) Subject: Fix syntax errors X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;ds=sidebyside;p=gitolite-hooks.git Fix syntax errors --- diff --git a/discord b/discord index a599869..729d487 100755 --- a/discord +++ b/discord @@ -216,9 +216,9 @@ function notify_discord() { exit 1 fi - webhook_url="$webook_url/slack" + webhook_url="$webhook_url/slack" - payload="{${msg}, " + payload="{${msg}" if [ -n "$username" ]; then payload="$payload, \"username\": \"$username\""