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:
parent
8fb3b0fb44
commit
aaa14466f2
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue