We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2902045 commit 99c8b01Copy full SHA for 99c8b01
run_init.sh
@@ -28,6 +28,8 @@ LOGFILE="$(pwd)/Logs/$(date '+%Y%m%d_%H%M%S').log"
28
readonly LOGFILE
29
mkdir -p "$(dirname "${LOGFILE}")"
30
31
+# TODO consider differentiating errors from logs (e.g. adding an error keyword
32
+# to err function or writing stderr to a different file
33
# Redirect all output (stdout + stderr) to both the log file and the terminal
34
exec > >(tee -i "$LOGFILE") 2>&1
35
0 commit comments