fix: add quoting to variables for shellcheck compliance
All checks were successful
Bash Syntax Check / syntax-check (push) Successful in 2s

This commit is contained in:
2026-02-11 04:56:13 +00:00
parent 0d91a7f1a1
commit 278b47bd3c

View File

@@ -34,4 +34,4 @@ else
fi
#build the post form and send it to the slack url
curl -X POST --data-urlencode 'payload={"channel": "#'$SLACKCH'", "username": "'$SLACKUSER'", "text": "'"$1"'", "icon_emoji": "'$SLACKICON'"}' $SLACKURL -o /dev/null >/dev/null 2>&1
curl -X POST --data-urlencode 'payload={"channel": "#'"$SLACKCH"'", "username": "'"$SLACKUSER"'", "text": "'"$1"'", "icon_emoji": "'"$SLACKICON"'"}' "$SLACKURL" -o /dev/null >/dev/null 2>&1