Skip to content

Commit

Permalink
set pipefail again for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelTrahanNOAA committed Jun 27, 2024
1 parent 05835b8 commit eef6e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ECFLOW_RUNNING=false
jobid=0

redirect_out_err() {
( "$@" 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out
( set -e -o pipefail ; ( "$@" 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out )
# The above shell redirection copies stdout to "out" and stderr to "err"
# while still sending them to stdout and stderr. It does this without
# relying on bash-specific extensions or non-standard OS features.
Expand Down

0 comments on commit eef6e73

Please sign in to comment.