Silence stderr for download_to_stdout

This commit is contained in:
Julian Ospald 2019-04-11 10:24:30 +08:00
parent f8abcb7d08
commit c64cf0efca
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

2
ghcup
View File

@ -1009,7 +1009,7 @@ download_silent() {
download_to_stdout() {
[ -z "$1" ] && die "Internal error: no argument given to download"
# shellcheck disable=SC2086
edo ${DOWNLOADER} ${DOWNLOADER_STDOUT_OPTS} "$1"
edo ${DOWNLOADER} ${DOWNLOADER_STDOUT_OPTS} "$1" 2> /dev/null
}
# @FUNCTION: unpack