From 88de2e74ff7f05909e704090f0162c255529f621 Mon Sep 17 00:00:00 2001 From: thek4n Date: Mon, 28 Oct 2024 11:10:45 +0300 Subject: [PATCH] ref bash functions --- home/user/.config/bash/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {