summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2015-11-05 16:59:09 +0100
committerMichael Vogt <mvo@ubuntu.com>2015-11-05 16:59:09 +0100
commita2f2de5ae036e39bc8194177e285954de88874d5 (patch)
tree20ae0f4703b6cad5f4a976b34f754379e536d7ab
parent3ca277256746274ca7ff22e7777d6402e7db533b (diff)
simplify, thanks Gustavobugfix/all-good-again
-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