diff --git a/nagios/check_gitea_version.sh b/nagios/check_gitea_version.sh index b4f1c35..f2e1ccc 100755 --- a/nagios/check_gitea_version.sh +++ b/nagios/check_gitea_version.sh @@ -8,7 +8,7 @@ set -e # note: some local problems with IPv4, the quickest way was to force IPv6. LOCAL_VERSION="$( wget -6 -O - -q "https://$( hostname -f )/api/v1/version" | sed -n 's/{"version":"\([^"]\+\)"}/\1/p' )" -UPSTREAM_VERSION="$( wget -q -O - "https://dl.gitea.io/gitea/" | egrep -- '