projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed to pass along exit value also
[feisty_meow.git]
/
scripts
/
testing
/
squelch_unless_error.sh
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