Rename stray local var to global var
This commit is contained in:
parent
69d0688186
commit
0c79e3ab9a
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue