diff --git a/jeannie b/jeannie index 0bb7afc..a1e25cd 100755 --- a/jeannie +++ b/jeannie @@ -876,14 +876,14 @@ run_step() { if jeannie_verbose_enabled; then set +e - "$@" 2>&1 | redact_sensitive_output | tee "${step_log}" + "$@" 2>&1 | redact_sensitive_output | tee "${step_log}" | tee -a "${JEANNIE_LOG_FILE}" status=${PIPESTATUS[0]} set -e else set +e ( set +e - "$@" 2>&1 | redact_sensitive_output >"${step_log}" + "$@" 2>&1 | redact_sensitive_output | tee "${step_log}" >>"${JEANNIE_LOG_FILE}" printf '%s\n' "${PIPESTATUS[0]}" >"${status_file}" ) & progress_pid=$! @@ -902,7 +902,6 @@ run_step() { set -e fi - cat "${step_log}" >>"${JEANNIE_LOG_FILE}" printf 'Finished: %s\n' "$(date -Is)" >>"${JEANNIE_LOG_FILE}" if ((status == 0)); then