|
Lines 110-116
Link Here
|
| 110 |
# environments where the executed program might not have permissions |
110 |
# environments where the executed program might not have permissions |
| 111 |
# to write to the console/tty. But only bash 3.x supports the pipefail |
111 |
# to write to the console/tty. But only bash 3.x supports the pipefail |
| 112 |
# option, and we don't bother to handle the case for older bash versions. |
112 |
# option, and we don't bother to handle the case for older bash versions. |
| 113 |
if set -o pipefail 2> /dev/null; then |
113 |
if [ "$BASH" ] && set -o pipefail 2> /dev/null; then |
| 114 |
try_trace() { |
114 |
try_trace() { |
| 115 |
eval $add_env '"$@"' | cat |
115 |
eval $add_env '"$@"' | cat |
| 116 |
} |
116 |
} |