check-updates.sh: avoid silent error exit

This commit is contained in:
Leonid Pliushch 2021-09-22 18:07:31 +03:00
parent 404a4f5cfe
commit 619960c7e8
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -46,7 +46,7 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
# If needed, filter version numbers from tag by using regexp.
if [ -n "$version_regexp" ]; then
latest_version=$(grep -oP "$version_regexp" <<< "$latest_version")
latest_version=$(grep -oP "$version_regexp" <<< "$latest_version" || true)
fi
if [ -z "$latest_version" ]; then