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.134~12^2~34 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=e1adf6113fbde30ced70561a196baaed3cc43be2;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