1
0
Fork 0

Rename stray local var to global var

This commit is contained in:
Xavier Moffett 2023-04-13 05:54:55 +00:00
parent 69d0688186
commit 0c79e3ab9a

View file

@ -14,7 +14,7 @@ check () {
return
fi
local mirror_response=$(curl -s -o /dev/null -w "%{http_code}" $MIRROR/$version_next/)
local mirror_response=$(curl -s -o /dev/null -w "%{http_code}" $MIRROR/$VERSION_NEXT/)
if [[ $mirror_response == 404 ]]; then
echo "Fedora $VERSION_ID is the latest version."