Revision 13222
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
1091 | 1091 |
set +o errexit # avoid errexiting since @PIPESTATUS will be used instead |
1092 | 1092 |
{ stderr2stdout "$@"|stdout_contains echo_run grep -E "$pattern"; } 41>&1 |
1093 | 1093 |
local PIPESTATUS_=("${PIPESTATUS[@]}") # save b/c it's reset after each cmd |
1094 |
echo_vars PIPESTATUS_ |
|
1094 | 1095 |
set -o errexit |
1095 | 1096 |
|
1096 | 1097 |
# handle any error |
Also available in: Unified diff
lib/sh/util.sh: stderr_matches(): echo_vars @PIPESTATUS_ to assist debugging