1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 17:52:11 +00:00

Fix unbound var

This commit is contained in:
Rohan Kumar 2024-04-05 16:59:06 -04:00
parent 8fb3b0fb44
commit aaa14466f2
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -5,7 +5,7 @@
# The response is cached for 90 minutes. If fetching fresh webmentions fails, fall back to the cached version for up to one day (1440 minutes). If cached webmentions are older than a day, error out.
# no pipefail here since there are no pipes.
set -e -u
set -e
exit_on_connectivity_failure() {
echo "You are offline"
@ -16,6 +16,8 @@ if [ -z "$JOB_URL" ]; then
sh scripts/connectivity-check.sh || exit_on_connectivity_failure
fi
set -u
dirname="$(dirname "$0")"
curl_wrapper="$dirname/curl-wrapper.sh"
auth_url='https://collector.seirdy.one/webmentions/authenticate/access-key'