Преглед на файлове

refactor: improve logging message in core_dl.sh

The logging message in the `fn_fetch_file` function has been updated to provide a more concise and informative description of the file being fetched.
Daniel Gibbs преди 2 години
родител
ревизия
c4a3c5a252
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lgsm/modules/core_dl.sh

+ 1 - 1
lgsm/modules/core_dl.sh

@@ -403,7 +403,7 @@ fn_fetch_file() {
 				"${curlcmd[@]}" --progress-bar "${fileurl}" 2>&1
 				"${curlcmd[@]}" --progress-bar "${fileurl}" 2>&1
 				exitcode="$?"
 				exitcode="$?"
 			else
 			else
-				echo -en "fetching from ${fileurl_name} ( ${local_filename} )\c"
+				echo -en "fetching ${fileurl_name} ${local_filename}...\c"
 				"${curlcmd[@]}" --silent --show-error "${fileurl}" 2>&1
 				"${curlcmd[@]}" --silent --show-error "${fileurl}" 2>&1
 				exitcode="$?"
 				exitcode="$?"
 			fi
 			fi