user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit e00497fd513b479ae7684b3cddbf6d8dd3b521bf
parent d9af90d05f477e5e25f8d9f545eeb7fe0a235d2a
Author: matthias-z <11502234+matthias-z@users.noreply.github.com>
Date:   Sat, 19 Mar 2022 07:46:08 +0000

Fix newline issue when downloading files in updater.sh (#1397)


Diffstat:
Mupdater.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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