fixed to pass along exit value also
[feisty_meow.git] / scripts / testing / squelch_unless_error.sh
index b59ca5a197808d81893d8a496bd3896d166c8462..696abd731776b74bbcc647555263c26aab6202de 100644 (file)
@@ -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