We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07abd8 commit 1806b14Copy full SHA for 1806b14
hack/lib/log/output.sh
@@ -86,7 +86,7 @@ readonly -f os::log::debug
86
# Arguments:
87
# - all: message to write
88
function os::log::internal::to_logfile() {
89
- if [[ -n "${LOG_DIR:-}" ]]; then
+ if [[ -n "${LOG_DIR:-}" && -d "${LOG_DIR-}" ]]; then
90
echo "$*" >>"${LOG_DIR}/scripts.log"
91
fi
92
}
0 commit comments