Explorar el Código

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 hace 2 años
padre
commit
c4a3c5a252
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 				exitcode="$?"
 			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
 				exitcode="$?"
 			fi