Commit 7baa986
committed
capture exit code of callback and return at the end
because should set -e be disabled when withCustomOutputInput is called
(which can happen for various reasons: on the left side of || in an if,
function which uses withCustomOutputInput happens to be in an if etc.
we would no longer exit.1 parent 1a87e46 commit 7baa986
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments