Skip to content

Commit

Permalink
log post download command outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Jan 23, 2024
1 parent 1db98c2 commit d9b8ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns-lists-downloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d9b8ce6

Please sign in to comment.