From: Chris Koeritz Date: Thu, 21 Jan 2021 16:36:18 +0000 (+0000) Subject: fixed to pass along exit value also X-Git-Tag: 2.140.128~1^2~34 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=37c6cdc5370b3151ca609d54361596fddc44e3ae;p=feisty_meow.git fixed to pass along exit value also --- diff --git a/scripts/testing/squelch_unless_error.sh b/scripts/testing/squelch_unless_error.sh index b59ca5a1..696abd73 100644 --- 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