remove redundant

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
import this
2025-11-14 10:35:42 +00:00
committed by GitHub
parent f62dbbdae0
commit 3f560180b7
@@ -32,9 +32,6 @@ log() {
# simple redirection that keeps function scope intact
add_log_redirection() {
# Preserve original stdout (fd 1) and stderr (fd 2) in file descriptors 3 and 4
# before redirection, to support potential future use cases where the original streams are needed.
exec 3>&1 4>&2
exec > >(tee -a "$LOG_FILE") 2>&1
}
add_log_redirection