From d9b8ce6da2cf3f48daa7a98ae7eef6de74218215 Mon Sep 17 00:00:00 2001 From: Shizun Ge Date: Mon, 22 Jan 2024 20:34:34 -0800 Subject: [PATCH] log post download command outputs --- src/dns-lists-downloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns-lists-downloader.sh b/src/dns-lists-downloader.sh index bd27197..e13c52d 100755 --- a/src/dns-lists-downloader.sh +++ b/src/dns-lists-downloader.sh @@ -103,7 +103,7 @@ download_from_single_source_file() { fix_list "${CURRENT_FILE}" if [ -n "${POST_DOWNLOAD_CMD}" ]; then log INFO "Run POST_DOWNLOAD_CMD: ${POST_DOWNLOAD_CMD} ${CURRENT_FILE}" - eval "${POST_DOWNLOAD_CMD} ${CURRENT_FILE}" + eval "${POST_DOWNLOAD_CMD} ${CURRENT_FILE}" 2>&1 | log_lines INFO fi log DEBUG "Merging ${CURRENT_FILE} to ${ACCUMULATOR_FILE}" # SC2129: Consider using { cmd1; cmd2; } >> file instead of individual redirects.