From 76c249eddbdbbbb9e7fd8098cf39b2f29d3a955b Mon Sep 17 00:00:00 2001 From: Vladimir Mikhaylov <38596482+vemikhaylov@users.noreply.github.com> Date: Sat, 27 Feb 2021 17:15:49 +0300 Subject: [PATCH] Fix breeze redirect on macOS (#14506) (cherry picked from commit f9cc775adc0dff49b0e288d8f2745bf097017321) --- breeze | 2 ++ 1 file changed, 2 insertions(+) diff --git a/breeze b/breeze index 124ed855f1271..bc6304600c410 100755 --- a/breeze +++ b/breeze @@ -24,7 +24,9 @@ AIRFLOW_SOURCES="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if [[ ${BREEZE_REDIRECT=} == "" ]]; then mkdir -p "${AIRFLOW_SOURCES}"/logs export BREEZE_REDIRECT="true" + set +u "${0}" "${@}" 2>&1 | tee "${AIRFLOW_SOURCES}"/logs/breeze.out + set -u exit fi