Don't show curl result

We don't need to see the headers from a successful curl download, we just want
the exit code.
This commit is contained in:
Peter Ajamian 2022-02-01 21:53:59 +13:00
parent bba792d9ac
commit 1f020ac079
1 changed files with 2 additions and 1 deletions

View File

@ -514,7 +514,8 @@ check_repourl () {
return 1
fi
curl -sfLI "${repoinfo_results[Repo-baseurl]%% *}repodata/repomd.xml"
curl -sfLI "${repoinfo_results[Repo-baseurl]%% *}repodata/repomd.xml" \
> /dev/null
return
}