From c64cf0efca1707285f6bbeaff4363e05631bef30 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 11 Apr 2019 10:24:30 +0800 Subject: [PATCH] Silence stderr for download_to_stdout --- ghcup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcup b/ghcup index 3115fea..731cfdd 100755 --- a/ghcup +++ b/ghcup @@ -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