Silence stderr for download_to_stdout
This commit is contained in:
parent
f8abcb7d08
commit
c64cf0efca
2
ghcup
2
ghcup
@ -1009,7 +1009,7 @@ download_silent() {
|
|||||||
download_to_stdout() {
|
download_to_stdout() {
|
||||||
[ -z "$1" ] && die "Internal error: no argument given to download"
|
[ -z "$1" ] && die "Internal error: no argument given to download"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
edo ${DOWNLOADER} ${DOWNLOADER_STDOUT_OPTS} "$1"
|
edo ${DOWNLOADER} ${DOWNLOADER_STDOUT_OPTS} "$1" 2> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
# @FUNCTION: unpack
|
# @FUNCTION: unpack
|
||||||
|
Loading…
Reference in New Issue
Block a user