projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295db72
)
fixed to pass along exit value also
author
Chris Koeritz
<fred@gruntose.com>
Thu, 21 Jan 2021 16:36:18 +0000
(16:36 +0000)
committer
Chris Koeritz
<fred@gruntose.com>
Thu, 21 Jan 2021 16:36:18 +0000
(16:36 +0000)
scripts/testing/squelch_unless_error.sh
patch
|
blob
|
history
diff --git
a/scripts/testing/squelch_unless_error.sh
b/scripts/testing/squelch_unless_error.sh
index b59ca5a197808d81893d8a496bd3896d166c8462..696abd731776b74bbcc647555263c26aab6202de 100644
(file)
--- a/
scripts/testing/squelch_unless_error.sh
+++ b/
scripts/testing/squelch_unless_error.sh
@@
-23,4
+23,7
@@
fi
# clean up.
\rm "$newout" "$newerr"
+# pass along the error code we saw, whether success or failure, so that this command has same
+# exit result as the original would have.
+exit $retval