X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ftesting%2Fsquelch_unless_error.sh;h=696abd731776b74bbcc647555263c26aab6202de;hb=37c6cdc5370b3151ca609d54361596fddc44e3ae;hp=b59ca5a197808d81893d8a496bd3896d166c8462;hpb=1195c9916ed0bcc0ad7cf10fc9d606d9924114b1;p=feisty_meow.git 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