You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/03/23 03:25:53 UTC

[airflow] 06/34: Fix breeze redirection on linux/Ubuntu 20.04 (#14626)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 7fe2e70fdeadc9780358e905ff74f69c3e2f8c0e
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Fri Mar 5 17:23:58 2021 +0000

    Fix breeze redirection on linux/Ubuntu 20.04 (#14626)
    
    The version of `script` on ubunutu 20.04 (and likely others) has doesn't
    have the `--log-out` cli arg, but that is the default mode for the
    "un-named" arg anyway.
    
    (cherry picked from commit 8116bed095ec4587bde739d3b6f7ff3afa5f7b84)
---
 breeze | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/breeze b/breeze
index 541c61c..fd8cfc2 100755
--- a/breeze
+++ b/breeze
@@ -27,7 +27,7 @@ if [[ ${BREEZE_REDIRECT=} == "" ]]; then
     if [[ "$(uname)" == "Darwin" ]]; then
       exec script -q "${AIRFLOW_SOURCES}"/logs/breeze.out "$BASH" -c "$(printf "%q " "${0}" "${@}")"
     else
-      exec script --return --quiet --log-out "${AIRFLOW_SOURCES}"/logs/breeze.out -c "$(printf "%q " "${0}" "${@}")"
+      exec script --return --quiet "${AIRFLOW_SOURCES}"/logs/breeze.out -c "$(printf "%q " "${0}" "${@}")"
     fi
 fi