diff --git a/home/user/.config/bash/functions b/home/user/.config/bash/functions index 8581a14..0809598 100644 --- a/home/user/.config/bash/functions +++ b/home/user/.config/bash/functions @@ -244,8 +244,8 @@ cleanup-downloads() { touch "${log_file}" - echo "$(date -Iseconds) : Start cleanup" >> "${log_file}" - cleanup-directory "${downloads_directory}" >> "${log_file}" + echo "$(date -Iseconds) : Start cleanup" | tee -a "${log_file}" + cleanup-directory "${downloads_directory}" | tee -a "${log_file}" } _bak() {