summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xrun-checks3
1 files changed, 1 insertions, 2 deletions
diff --git a/run-checks b/run-checks
index afa9294fee..5791d9f081 100755
--- a/run-checks
+++ b/run-checks
@@ -35,8 +35,7 @@ esac
CURRENTTRAP="true"
EXIT_CODE=99
store_exit_code() {
- local exit_code=$?
- EXIT_CODE=$exit_code
+ EXIT_CODE=$?
}
exit_with_exit_code() {
exit $EXIT_CODE