From aaf3c3e71130c0709b7fd11e46da1a8720fc9b92 Mon Sep 17 00:00:00 2001
From: matthias-z <11502234+matthias-z@users.noreply.github.com>
Date: Fri, 18 Mar 2022 14:45:08 +0100
Subject: [PATCH] Fix newline issue when downloading files in updater.sh

---
 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