diff --git a/uac b/uac index 1f93438..e284ee7 100755 --- a/uac +++ b/uac @@ -778,9 +778,9 @@ ua_output_file_hash="-" # sort and uniq sort_uniq_file "${TEMP_DATA_DIR}/.output_file.tmp" 2>>"${UAC_STDERR_LOG_FILE}" # add uac.log to the list of files to be archived/copied within the output file -echo "uac.log" >>"${TEMP_DATA_DIR}/.output_file.tmp" +echo "uac.log" | cat - "${TEMP_DATA_DIR}/.output_file.tmp" >"${TEMP_DATA_DIR}/.output_file.tmp" # add uac.log.stderr to the list of files to be archived/copied within the output file -echo "uac.log.stderr" >>"${TEMP_DATA_DIR}/.output_file.tmp" +echo "uac.log.stderr" | cat - "${TEMP_DATA_DIR}/.output_file.tmp" >"${TEMP_DATA_DIR}/.output_file.tmp" # create output file if command_exists "tar"; then