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:
parent
bba792d9ac
commit
1f020ac079
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue