From e00497fd513b479ae7684b3cddbf6d8dd3b521bf Mon Sep 17 00:00:00 2001 From: matthias-z <11502234+matthias-z@users.noreply.github.com> Date: Sat, 19 Mar 2022 07:46:08 +0000 Subject: [PATCH] Fix newline issue when downloading files in updater.sh (#1397) --- updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.sh b/updater.sh index 8295720..fcdc29f 100755 --- a/updater.sh +++ b/updater.sh @@ -106,7 +106,7 @@ Optional Arguments: download_file() { # expects URL as argument ($1) declare -r tf=$(mktemp) - $DOWNLOAD_METHOD "${tf}" "$1" && echo "$tf" || echo '' # return the temp-filename or empty string on error + $DOWNLOAD_METHOD "${tf}" "$1" &>/dev/null && echo "$tf" || echo '' # return the temp-filename or empty string on error } open_file() { # expects one argument: file_path