Skip to content

Commit 99c8b01

Browse files
committed
run_init.sh: Add a TODO
1 parent 2902045 commit 99c8b01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ LOGFILE="$(pwd)/Logs/$(date '+%Y%m%d_%H%M%S').log"
2828
readonly LOGFILE
2929
mkdir -p "$(dirname "${LOGFILE}")"
3030

31+
# TODO consider differentiating errors from logs (e.g. adding an error keyword
32+
# to err function or writing stderr to a different file
3133
# Redirect all output (stdout + stderr) to both the log file and the terminal
3234
exec > >(tee -i "$LOGFILE") 2>&1
3335

0 commit comments

Comments
 (0)