Skip to content

Commit eef6e73

Browse files
committedJun 27, 2024·
set pipefail again for linter
1 parent 05835b8 commit eef6e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/rt_utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ECFLOW_RUNNING=false
1515
jobid=0
1616

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

0 commit comments

Comments
 (0)
Please sign in to comment.