mirror of
https://github.com/yavook/kiwi-backup.git
synced 2024-11-25 08:03:01 +00:00
webhook escape
This commit is contained in:
parent
aec18b0839
commit
16e3ac92d2
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ if [ -n "${WEBHOOK_URL}" ]; then
|
||||||
wget_args="--no-check-certificate"
|
wget_args="--no-check-certificate"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WEBHOOK_URL="$(echo "${WEBHOOK_URL}" | sed "s,%%MSG%%,running task ${*},g" )"
|
WEBHOOK_URL="$(echo "${WEBHOOK_URL}" | sed "s,%%MSG%%,running%20task%20${*},g" )"
|
||||||
wget -O /dev/null ${wget_args} "${WEBHOOK_URL}"
|
wget -O /dev/null ${wget_args} "${WEBHOOK_URL}" 1>/dev/null 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# hand over
|
# hand over
|
||||||
|
|
Loading…
Reference in a new issue