From 88e25910a62c358eca9e02ef29f75117f68c31ae Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 26 Sep 2023 23:56:17 +0100 Subject: [PATCH] refactor: improve logging message in fn_fetch_file The logging message in the fn_fetch_file function has been improved to provide a more concise and informative output. Instead of mentioning the local filename separately, it is now included within the same line as the file URL name. This change enhances readability and clarity when fetching files. --- lgsm/modules/core_dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/core_dl.sh b/lgsm/modules/core_dl.sh index fee9a20e1f..50a7c3db3f 100644 --- a/lgsm/modules/core_dl.sh +++ b/lgsm/modules/core_dl.sh @@ -403,7 +403,7 @@ fn_fetch_file() { "${curlcmd[@]}" --progress-bar "${fileurl}" 2>&1 exitcode="$?" else - echo -en "${dim}fetching from ${fileurl_name} ( ${local_filename} ) ... \c${default}" + echo -en "${dim}fetching from ${fileurl_name} ${local_filename} ... \c${default}" "${curlcmd[@]}" --silent --show-error "${fileurl}" 2>&1 exitcode="$?" fi